0.0.1 • Published 7 years ago
react-md-modal v0.0.1
react-md-dialog
React Component Material Design Dialog.
Installation
$ yarn add react-md-dialog
Example
import { Dialog } from 'react-md-dialog';
...
<Dialog show={true}>
<div>
Hello world
</div>
</Dialog>
...
Props
Name | Description | Default/Required | Type |
---|---|---|---|
show | Show or hide dialog. | required | bool |
progressBar | Show ProgressBar with overlay. | optional | bool |
errors | Shor error messages. | optional | array |
Errors
const errors = [
{
message: 'Example error 1.'
},
{
message: 'Example error 2.'
}
]
0.0.1
7 years ago