@jacobp100/react-native-sfimage
v0.1.2
Published
test
Downloads
4
Readme
react-native-sfimage
Use SFSymbols in react native. Requires iOS 13+.
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