// @flow
import * as React from 'react';
import { IntlProvider } from 'react-intl';
import Button from '../../button/Button';
import Notification from '../Notification';
import notes from './Notification.stories.md';
export const basic = () => (
This is a default notification.
);
export const info = () => (
This is an info notification with a button.
);
export const warn = () => (
This is a warning notification with two buttons.
);
export const error = () => (
This is an error notification.
);
export default {
title: 'Components/Notifications/Notification',
component: Notification,
parameters: {
notes,
},
};