@jamadd/react-native-template-icons
Version:
React Native Template Icons is a collection of icons designed by JaMa D&D.
64 lines (42 loc) • 1.09 kB
Markdown
**React Native Template Icons** provides a set of icons designed by **JaMa D&D**.
- Comprehensive icon set
- Supports predefined icon sizes and custom icon sizes
- Customizable icon colors
```sh
yarn add @jamadd/react-native-template-icons
```
or
```sh
npm install @jamadd/react-native-template-icons
```
```js
import Icon, { IconSize } from "@jamadd/react-native-template-icons";
// Using predefined icon size
<Icon name={"reactnativetemplate"} color={"#7ccf6b"} size={IconSize.S} />;
// Using custom icon size
<Icon name={"reactnativetemplate"} color={"#7ccf6b"} size={24} />;
```
```ts
export enum IconSize {
XXS = 12,
XS = 18,
S = 24,
M = 30,
L = 36,
XL = 42,
XXL = 48,
}
```
TODO
TODO
This package is created using [react-native-vector-icons](https://github.com/oblador/react-native-vector-icons/blob/master/docs/CREATE_FONT_PACKAGE.md) and [Yeoman generator](https://yeoman.io/learning/).
MIT