Alerts are used whenever we want to ** notify the users ** that something has happened in the tool.

<br/>
<br/>

** Alert default: **
```js
<Alert type="info">During your lifetime, you will produce enough saliva to fill two swimming pools.</Alert>
```
** Alert success: **
```js
<Alert type="success">You have succeeded!</Alert>
```
** Alert warning: **
```js
<Alert type="warning">You have forgot to save your content</Alert>
```
** Alert danger: **
```js
<Alert type="danger">The space ship will self-destruct in 10 minutes</Alert>
```

All alerts are dissmisable by passing `onDissmiss()`

```js
function onDismiss() { window.alert("Close alert!")}
<Alert
  type="info"
  onDismiss={onDismiss}
>
Lorem ipsum dolor sit amet.
</Alert>
```

An alert can also have an heading and/or buttons.
```js
const actions = [
  {name: 'Primary', onClick: () => {}, primary: true},
  {name: 'Secondary', onClick: () => {}, primary: false},
];

<Alert
  bsStyle="info"
  onDismiss={() => {}}
  actions={actions}
  heading="The heading"
>
This alert have buttons
</Alert>
```
