1.0.1 • Published 5 years ago

@ngocnn/react-material-alert v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

react-material-alert

A ReactJS alert component built on Material UI

NPM JavaScript Style Guide Material-UI

Demo

https://ngocnn1104.github.io/react-material-alert/

Install

npm install --save @ngocnn/react-material-alert

Usage

import React, { Component } from 'react'

import MaterialAlert from '@ngocnn/react-material-alert'

class Example extends Component {
  render () {
    return (
      <MaterialAlert text='This is a success alert' type='success' />
      <MaterialAlert text='This is a warning alert' type='warning' />
      <MaterialAlert text='This is an error alert' type='error' />
    )
  }
}

License

MIT © ngocnn1104