empty

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
Empty
1 contributor
Install empty as a package?
Copied
npm i @bit/webnovel.read-ui.empty
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

Empty

i!5i"d8:g):

Demo1

import React from 'react';
import Empty from '@bit/webnovel.read-ui.empty';
import '@bit/webnovel.read-ui.style';

export default (
    <div>
        <Empty title="Empty title" >
            Something went wrong! <a href="##" className="c_primary" title="more">More</a>
        </Empty>
                <Empty>
            Something went wrong!
        </Empty>
                <Empty title="No Data"/>
                 <Empty imgUrl="" title="No Data">
            Something went wrong!
        </Empty>
    </div>
)
Properties
NameTypeDefault valueDescription
title
string""

图片

imgUrl
stringemptyImg

图片

children
string | nodenull

文案 如果是string 会放到 p 标签里面

Help and resources