badge

v0.0.7arrow_drop_down
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
12
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
徽章
1 contributor
Install badge as a package?
Copied
npm i @bit/webnovel.read-ui.badge
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

Badge

h?f/d;d9o<

Demo

```JSX
import React from 'react';
import Badge from '@bit/webnovel.read-ui.badge';
import "@bit/webnovel.read-ui.style";

export default function () {
    return (
        <div>
            <Badge url="https://actimg.webnovel.com/badge/10006/1/144.png"/>
        </div>
    )
}
Properties
NameTypeDefault valueDescription
className
string""

css class

children
node

子元素

url
stringnull

图标Url

size
stringnull

尺寸

isDark
boolfalse

是否是灰色的

Help and resources