From cbe1ca72068ad1b279d1e78a4ae0e2fc8780ecc8 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Wed, 14 Jul 2021 17:27:11 +0200
Subject: added random graph with colored edged

---
 app/components/graph/graph.story.tsx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 app/components/graph/graph.story.tsx

(limited to 'app/components/graph/graph.story.tsx')

diff --git a/app/components/graph/graph.story.tsx b/app/components/graph/graph.story.tsx
new file mode 100644
index 0000000..e5385e6
--- /dev/null
+++ b/app/components/graph/graph.story.tsx
@@ -0,0 +1,15 @@
+import * as React from "react"
+import { storiesOf } from "@storybook/react-native"
+import { StoryScreen, Story, UseCase } from "../../../storybook/views"
+import { color } from "../../theme"
+import { Graph } from "./graph"
+
+storiesOf("Graph", module)
+  .addDecorator((fn) => <StoryScreen>{fn()}</StoryScreen>)
+  .add("Style Presets", () => (
+    <Story>
+      <UseCase text="Primary" usage="The primary.">
+        <Graph style={{ backgroundColor: color.error }} />
+      </UseCase>
+    </Story>
+  ))
-- 
cgit v1.2.3

