Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@ant-design/icons-react-native

Package Overview
Dependencies
Maintainers
23
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ant-design/icons-react-native

Ant Design Icons for React Native

latest
Source
npmnpm
Version
2.3.2
Version published
Maintainers
23
Created
Source

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

FAQs

Package last updated on 20 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts