1
1
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:
Shawn Allen 2017-09-12 23:55:58 -07:00
parent 1143a5e0da
commit 85ca818998

View File

@ -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$/),