dialog-img
v0.0.2arrow_drop_downv0.0.2
v0.0.1
STATUS
Processing
DOWNLOADS
2
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
66 KB
显示大图
1 contributor
Like
Install dialog-img as a package?
Copied
npm i @bit/webnovel.read-ui.dialog-img
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
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
Dialogimg
h?f/d; d9o<
Demo
```JSX
import React from 'react';
import Dialogimg from '@bit/webnovel.read-ui.dialogimg';
import "@bit/webnovel.read-ui.style";
export default function () {
return (
<div>
<Dialogimg/>
</div>
)
}
Properties
Name | Type | Default value | Description |
---|---|---|---|
children | node | null | 子元素 |
className | string | "" | css class |
srcThumb | string | 小图 | |
src (required) | string | 图片链接 | |
open | bool | false | 是否默认显示 |
width | string | number | null | 宽 |
height | string | number | null | 高 |