0.0.4 • Published 6 years ago

react-moi-dialog v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

react-moi-dialog

React Component Material Design Dialog.

Installation

$ yarn add react-moi-dialog

Example

import React from 'react';
import Dialog, { Header, Title, Body, Footer } from 'react-moi-dialog';

const App = () =>
  (
    <Dialog show progressBar={false}>
      <Header>
        <Title>Title</Title>
      </Header>
      <Body>
        <p>
          Lorem Ipsum es simplemente el texto de relleno de las imprentas y archivos de texto.
        </p>
      </Body>
      <Footer>
        <button>Button</button>
      </Footer>
    </Dialog>
  );

export default App;

Props

NameDescriptionDefault/RequiredType
showShow or hide dialog.requiredbool
progressBarShow ProgressBar with overlay.optionalbool