@jacobp100/react-native-sfimage
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

react-native-sfimage

Use SFSymbols in react native. Requires iOS 13+.

Part of the TechniCalc Project

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

Package Sidebar

Install

npm i @jacobp100/react-native-sfimage

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

23.9 kB

Total Files

17

Last publish

Collaborators

  • jacobp100