tabler-react-native
v1.1.0
Published
Tabler Icons for React Native
Downloads
13
Maintainers
Readme
Tabler Icons for React Native
Installation
yarn add tabler-react-nativeor
npm install tabler-react-native --saveor
pnpm install tabler-react-nativeor 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.
