level

v0.0.8arrow_drop_down
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
Passing
DOWNLOADS
14
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
等级
1 contributor
Install level as a package?
Copied
npm i @bit/webnovel.read-ui.level
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

Level

DEMO

import React from 'react';
import Level from '@bit/webnovel.read-ui.level';
import "@bit/webnovel.read-ui.style";

export default (
    <div>
        <div>
            <Level lv={1} />
            <Level lv={2} />
            <Level lv={3} />
            <Level lv={4} />
            <Level lv={5} />
            <Level lv={6} />
            <Level lv={7} />
            <Level lv={8} />
        </div>
        <Level lv={9} />
        <Level lv={10} />
        <Level lv={11} />
        <Level lv={12} />
        <Level lv={13} />
        <Level lv={14} />
        <Level lv={15} />
        <Level lv="ultra" />
    </div>
);
Properties
NameTypeDefault valueDescription
lv
number | "ultra"0

等级

size
number | string16
Help and resources