1
1
mirror of https://github.com/primer/css.git synced 2024-12-23 22:24:11 +03:00

wrap everything in div.p-4

This commit is contained in:
Shawn Allen 2017-09-12 14:05:42 -07:00
parent 470662f103
commit 82b92d4bf1

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