dialog-stick

v0.0.2arrow_drop_down
v0.0.2
v0.0.1
STATUS
Processing
DOWNLOADS
2
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
49 KB
Author: ziven27 Date: 8/14/2020 Desc: 这是什么?
1 contributor
Install dialog-stick as a package?
Copied
npm i @bit/webnovel.read-ui.dialog-stick
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

DialogStick

e8e:e<9g*

Demo

```JSX
import React from 'react';
import DialogStick from '@bit/webnovel.read-ui.dialogstick';
import "@bit/webnovel.read-ui.style";

export default function () {
    const [open, setOpen]=useState(false);
    return (
        <div>
            <button type="button" onClick={()=>{ setOpen(false) }}>f>g$:</button>
            <DialogStick title="More" open={open} onClose={()=>{ setOpen(false) }}>
                <p>
                  f>g$:e<9g*
                <p>
            </DialogStick>
        </div>
    )
}
Properties
NameTypeDefault value
children
nodenull
className
string""
onClose
function() => {}
open
boolfalse
title
stringnull
Help and resources