react-md-dialog

0.0.3 • Public • Published

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.'
  }
]

Readme

Keywords

none

Package Sidebar

Install

npm i react-md-dialog

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • paulomcnally