Alert


Alert component is used to display important messages to users. It can be used to show success, warning, error and information messages.

To use the Alert component, you need to import it from the ez-dashboard package.

import { Alert } from 'ez-dashboard';

Usage


import { Alert } from 'ez-dashboard'; const Dashbaord = () => { return ( <Alert title={'Alert'} description={'Alert message'}/> )} export default Dashboard;
alert box

Props


The Alert component has the following props:
* title
* description