0.1.2 • Published 1 year ago

@jacobp100/react-native-sfimage v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-sfimage

Use SFSymbols in react native. Requires iOS 13+.

iOS Simulator with icons example Example app

Installation

npm install @jacobp100/react-native-sfimage

Usage

import SFImage from "@jacobp100/react-native-sfimage";

<SFImage
  systemName="thermometer.sun.fill"
  weight="semibold"
  scale="large"
  tintColor="red"
  size={16}
  resizeMode="center"
  multiColor={false}
/>;

Credit

This library is mostly taken from react-native-sfsymbols. The key difference is that this library will automatically size the images, so you do not need to set the sizes via the style prop.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.1.2

1 year ago

0.1.1

1 year ago