Skip to content

szchenghuang/react-mdui

Repository files navigation

Build Status NPM Package Dependency status devDependency status

react-mdui

MDUI in ReactJS.

Demo

Demo is a preview application for your reference.

Install

npm install react-mdui --save

Usage

Take Button for example:

import { Button } from 'react-mdui';

const button = (
  <Button
    node="button"
    raised
    block
    ripple
    disabled
  >
    Click Me!
  </Button>
);

Components

Below is a list of available components. Each of them can be imported by either default import of named import for flexibility, namely

import { Button } from 'react-mdui';
import Button from 'react-mdui/Button';

License

MIT. See LICENSE.md for details.