@ngocnn/react-material-alert
v1.0.1
Published
A ReactJS alert component built on Material UI
Downloads
1
Readme
react-material-alert
A ReactJS alert component built on 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