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:
parent
4743c82abd
commit
53181558ee
@ -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>
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user