1.0.0 • Published 4 years ago
yqx-icons
Licence
MIT
Version
1.0.0
Deps
0
Size
235 kB
Vulns
0
Weekly
0
Yqx Icons for React Native
Install
yarn add yqx-icons
Linking
react-native link yqx-icons
will copy fonts to ios and android assets folder.
After linking succeeded you need run your app from xcode or android studio or start it from terminal react-native run-ios or react-native run-android
Basic Usage
import { IconFill, IconOutline } from "yqx-icon";
After that, you can use antd icons in your React components as simply as this:
<IconFill name="account-book" />
<IconOutline name="account-book" />
Component Interface
interface IconFillProps extends TextProps {
name: FillGlyphMapType;
size?: number;
color?: string;
}