summaryrefslogtreecommitdiff
path: root/app_expo/components/tweaks/tweaks.story.tsx
blob: 770d50fb119a8862e7b55f04778547597da67c0e (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import * as React from 'react'
import { storiesOf } from '@storybook/react-native'
import { StoryScreen, Story, UseCase } from '../../../storybook/views'
import { color } from '../../theme'
import { Tweaks } from './tweaks'

storiesOf('Tweaks', module)
  .addDecorator((fn) => <StoryScreen>{fn()}</StoryScreen>)
  .add('Style Presets', () => (
    <Story>
      <UseCase text="Primary" usage="The primary.">
        <Tweaks style={{ backgroundColor: color.error }} />
      </UseCase>
    </Story>
  ))