Customizing alerts.we use ant design UI framework for some UI layouts

import { Alert} from 'antd';
<Alert message="Success" description="This is an alert with success" type="success" closable />
<Alert message="Warning Text" description="This is an alert with warning.You can show it in the popup also this is just text" type="warning" closable />
<Alert message="Error Text" description="Error Description ErrorDescription Error Description Error Description" type="error" />
<Alert message="Info Text" type="info" closeText="Close Now" />