1.0.3 • Published 9 months ago

@elmaurer/react-native-remix-icon v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

react-native-remix-icon

this icon set includes all icons from the latest remix icon set (4.6.0)

Requirements

this package depends on react-native-svg, therefor install the latest version of react-native-svg

npm:

npm i react-native-svg

yarn:

yarn add react-native-svg

Usage

Icon Component

import {Icon} from "@elmaurer/react-native-remix-icon";

const Component = () => {
    return (<Icon name={'account-box-fill'}/>)
};

IconProps

the interface extends from SvgProps, which comes from react-native-svg

NameDescriptionTypeDefault
nameexact same name like remix icon hasIconName-
colorfills the icon with the given colorstring#000
sizesets width and height to given valuenumber24

Individual Icon Component

this solution uses the SvgProps interface aswell, with a default color of #000

import {ArrowLeftSLine} from "@elmaurer/react-native-remix-icon";

const Component = () => {
    return (<ArrowLeftSLine/>)
};
1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago