1
1
mirror of https://github.com/primer/css.git synced 2024-12-24 14:42:26 +03:00

add flash with action button and flash-full

This commit is contained in:
Diana Mounter 2017-09-02 18:01:47 -04:00
parent 4743c82abd
commit 53181558ee

View File

@ -30,3 +30,20 @@ storiesOf('Flash alerts', module)
</div>
</div>
))
.add('flash with action button', () => (
<div className='p-4'>
<div className="flash">
<button type="submit" className="btn btn-sm primary flash-action">Complete action</button>
Flash message with action here.
</div>
</div>
))
.add('flash-full', () => (
<div className='p-4'>
<div className="container-lg">
<div className="flash flash-full">
Full width flash message.
</div>
</div>
</div>
))