dialog-drop-list
v0.0.1arrow_drop_downv0.0.1
STATUS
Processing
DOWNLOADS
0
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
Author: ziven27
Date: 8/14/2020
Desc: 这是什么?
1 contributor
Like
Install dialog-drop-list as a package?
Copied
npm i @bit/webnovel.read-ui.dialog-drop-list
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
DialogDropList
e8e:geh!(e<9g*
Demo
import React from 'react';
import DialogDropList from '@bit/webnovel.read-ui.dialogdroplist';
import "@bit/webnovel.read-ui.style";
export default function () {
return (
<div>
<DialogDropList
options={[
{
name: "hello",
value: "hello",
icon: Authors
},
{
name: "hello2",
value: "hello2"
}
]}
onOptionClick={handleClick}
title="More"
>
<button type="button">f>g$:</button>
</DialogDropList>
</div>
)
}
Properties
Name | Type | Default value |
---|---|---|
children | node | null |
className | string | "" |
onOptionClick | function | () => {} |
options | {"Icon":"element | function","name":"string | number","value":"string | number"}[] | [] |
title | string | null |
open | ? | false |