You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
652 B

import React from 'react'
import { storiesOf } from '@storybook/react'
import { Message } from 'components/UI'
storiesOf('Components', module).addWithChapters('Message', {
subtitle: 'For displaying messages.',
chapters: [
{
sections: [
{
title: 'Success',
sectionFn: () => <Message variant="success">Success message</Message>
},
{
title: 'Warning',
sectionFn: () => <Message variant="warning">Warning message</Message>
},
{
title: 'Error',
sectionFn: () => <Message variant="error">Error message</Message>
}
]
}
]
})