icon

v0.0.9arrow_drop_down
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Processing
DOWNLOADS
156
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
6 KB
图标
1 contributor
Install icon as a package?
Copied
npm i @bit/webnovel.read-ui.icon
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right

Icon

g.e f f e>f o< e72g;g’;f$ e0 webnovel-iconscg9ff%g f f e>f 

d8 e(h?d8*e:i ge>f o< f e/h=f/h?g’;d9 e gf’e>f o< e6e.fd;6e$9d8 ge>f i=d<if8h?g’;c

Demo

import React from 'react';
import Icon from '@/read-ui/Icon';
import { ISmile } from "webnovel-icons";

export default (
    <div>
      <Icon Svg={ISmile} size={24} />
      <h2>d=?g(e>f h*h:+i"h    2</h2>
      <Icon isSelfColor Svg={ISmile} size={24} />
    </div>
);
Properties
NameTypeDefault valueDescription
Svg
(required)
node | function

svg,直接 import icon from ‘icon.svg’ 即可

size
string | number16

尺寸大小 默认16

isSelfColor
boolfalse

是否使用图标自身颜色

className
?""
Help and resources