Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcnallydev/react-md-dialog
React Component Material Design Dialog.
https://github.com/mcnallydev/react-md-dialog
javascript jsx react
Last synced: about 2 months ago
JSON representation
React Component Material Design Dialog.
- Host: GitHub
- URL: https://github.com/mcnallydev/react-md-dialog
- Owner: mcnallydev
- License: mit
- Created: 2017-09-28T19:12:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-04T06:49:52.000Z (over 7 years ago)
- Last Synced: 2024-04-13T03:23:15.579Z (9 months ago)
- Topics: javascript, jsx, react
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/react-md-dialog
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-md-dialog
React Component Material Design Dialog.
## Installation
$ yarn add react-md-dialog
## Example
```javascript
import Dialog from 'react-md-dialog';
Hello world
```
## 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
```javascript
const errors = [
{
message: 'Example error 1.'
},
{
message: 'Example error 2.'
}
]
```