tabler-react-native
v1.1.0
Published
Tabler Icons for React Native
Downloads
47
Maintainers
Readme
Tabler Icons for React Native
Installation
yarn add tabler-react-native
or
npm install tabler-react-native --save
or
pnpm install tabler-react-native
or just download from GitHub.
Usage
It's build with ESmodules so it's completely tree-shakable. Each icon can be imported as a component.
import { IconArrowLeft } from 'tabler-react-native/icons';
const App = () => {
return (
<View>
<IconArrowLeft />
</View>
);
};
export default App;
You can pass additional props to adjust the icon.
<IconArrowLeft color="red" size={48} />
Props
| name | type | default |
| ------------- | -------- | ------------ |
| size
| Number | 24 |
| color
| String | currentColor |
| stroke
| Number | 2 |
License
Tabler React Native is licensed under the MIT License.