mirror of
https://github.com/primer/css.git
synced 2024-11-23 20:38:58 +03:00
wrap everything in div.p-4
This commit is contained in:
parent
1143a5e0da
commit
85ca818998
@ -1,4 +1,5 @@
|
||||
import { configure } from '@storybook/react'
|
||||
import React from 'react'
|
||||
import { configure, addDecorator } from '@storybook/react'
|
||||
import { setOptions } from '@storybook/addon-options'
|
||||
import '../modules/primer-css/index.scss'
|
||||
|
||||
@ -8,6 +9,12 @@ setOptions({
|
||||
showDownPanel: false,
|
||||
})
|
||||
|
||||
addDecorator(story => (
|
||||
<div className='p-4'>
|
||||
{story()}
|
||||
</div>
|
||||
))
|
||||
|
||||
const contexts = [
|
||||
require.context('.', true, /\.js$/),
|
||||
require.context('../modules', true, /stories.*\.js$/),
|
||||
|
Loading…
Reference in New Issue
Block a user