mirror of
https://github.com/primer/css.git
synced 2024-12-24 14:42:26 +03:00
wrap everything in div.p-4
This commit is contained in:
parent
470662f103
commit
82b92d4bf1
@ -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