How to use the react-native-bpk-component-icon.icons.trash function in react-native-bpk-component-icon

To help you get started, we’ve selected a few react-native-bpk-component-icon examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Skyscanner / backpack / native / packages / react-native-bpk-component-button / stories.js View on Github external
const getIconType = type =>
  type === 'destructive' ? icons.trash : icons['long-arrow-right'];

react-native-bpk-component-icon

Backpack React Native icon component.

Apache-2.0
Latest version published 5 years ago

Package Health Score

70 / 100
Full package analysis

Similar packages