dialog-drop-list

v0.0.1arrow_drop_down
v0.0.1
STATUS
Processing
DOWNLOADS
0
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
Author: ziven27 Date: 8/14/2020 Desc: 这是什么?
1 contributor
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
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
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
NameTypeDefault value
children
nodenull
className
string""
onOptionClick
function() => {}
options
{"Icon":"element | function","name":"string | number","value":"string | number"}[][]
title
stringnull
open
?false
Help and resources