@ant-design/icons-react-native

2.3.2 • Public • Published

Ant Design Icons for React Native

NPM version NPM downloads

Install

yarn add @ant-design/icons-react-native

Linking

react-native link @ant-design/icons-react-native

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 "@ant-design/icons-react-native";

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;
}

Readme

Keywords

none

Package Sidebar

Install

npm i @ant-design/icons-react-native

Weekly Downloads

3,791

Version

2.3.2

License

MIT

Unpacked Size

241 kB

Total Files

17

Last publish

Collaborators

  • madccc
  • afc163
  • vthinkxie
  • zombiej
  • chenshuai2144
  • vagusx
  • arvinxx
  • 1uokun
  • bang88