We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc8819d commit d95463fCopy full SHA for d95463f
components/brave_welcome_ui/stories/story.tsx
@@ -5,11 +5,21 @@
5
import * as React from 'react'
6
import { storiesOf } from '@storybook/react'
7
import { withKnobs, boolean } from '@storybook/addon-knobs'
8
+
9
// Components
10
import WelcomePage from './page/index'
11
12
+const fullPageStoryStyles: object = {
13
+ width: '-webkit-fill-available',
14
+ height: '-webkit-fill-available'
15
+}
16
17
+export const FullPageStory = (storyFn: any) =>
18
+ <div style={fullPageStoryStyles}>{storyFn()}</div>
19
20
storiesOf('Welcome', module)
21
.addDecorator(withKnobs)
22
+ .addDecorator(FullPageStory)
23
.add('Page', () => {
24
return (
25
<WelcomePage isDefaultSearchGoogle={boolean('Is default search google?', true)}/>
0 commit comments