dialog
v0.0.1arrow_drop_downv0.0.1
STATUS
Passing
DOWNLOADS
54
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
1 contributor
Like
Install dialog as a package?
Copied
npm i @bit/clui.nui-ui.ui.common.dialog
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
Description
A dialog window that appears in front of app content to provide critical information for ask for a decision.
Import from bit.dev
https://bit.dev/clui/nui-ui/ui/common/dialog
yarn add @bit/clui.nui-ui.ui.common.dialog
import Dialog from '@bit/clui.nui-ui.ui.common.dialog';
Props
This component inherits Mui Dialog. Please refer to https://material-ui.com/api/dialog/ for all the inherited props.
Below are the props defined for this component:
Name | Type | Default | Description |
---|---|---|---|
header | React.ReactElement | - | Optional |
body* | React.ReactElement | - | Mandatory |
footer | React.ReactElement | - | Optional |
bgcolor | ‘white’ | ‘lightgrey’ | ‘primary’ | ‘secondary’ | ‘gradient-success’ | undefined | - | optional |
showCloseButton | boolean | false | optional |
onClose | function | - | optional |