forked from reactstrap/reactstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlert.js
More file actions
23 lines (21 loc) · 689 Bytes
/
Copy pathAlert.js
File metadata and controls
23 lines (21 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from 'react';
import { Alert } from 'reactstrap';
const Example = (props) => {
return (
<div>
<Alert color="success">
<strong>Well done!</strong> You successfully read this important alert message.
</Alert>
<Alert color="info">
<strong>Heads up!</strong> This alert needs your attention, but it's not super important.
</Alert>
<Alert color="warning">
<strong>Warning!</strong> Better check yourself, you're not looking too good.
</Alert>
<Alert color="danger">
<strong>Oh snap!</strong> Change a few things up and try submitting again.
</Alert>
</div>
);
};
export default Example;