react-native-web-iconfont

1.0.2 • Public • Published

NPM

you can see hear

For

react-native use ali iconfont

Install

yarn add react-native-web-iconfont

Extension

if RN version >= 0.60 , you need install react-native-webview

if RN version < 0.60, you need use another module react-native-web-iconfont-old

Use

Props

  • link: ali fonticon css link

  • iconName: Icon name

  • color: Icon Color

  • fontSize: Icon SIZE

Example

import iconFont from 'react-native-web-iconfont';

const IconFont = iconFont('http://at.alicdn.com/t/font_1391869_fk9kmt1pp1.css');

<IconFont fontSize={20} iconName={icon} color="black" />

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i react-native-web-iconfont

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

237 kB

Total Files

63

Last publish

Collaborators

  • hanhui_zhu