summaryrefslogtreecommitdiff
path: root/app/components/graph-ui/graph-ui.story.tsx
blob: 71151c89dbb3f47ecd5e2df826c2110e7aefbee2 (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 { GraphUi } from "./graph-ui"

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