about summary refs log tree commit diff
path: root/storybook/initial_state.js
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-06-05 17:08:07 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-05 10:08:07 +0200
commitab914ce6d5a681cf28486c663f01d0c481911c41 (patch)
treed6c625ce84bb2f7e47e9e9645a2118f09ec5064b /storybook/initial_state.js
parent6a4b2243975451058d42860312f9ec2966b64bc9 (diff)
Add OnboadingModal story (#3578)
Diffstat (limited to 'storybook/initial_state.js')
-rw-r--r--storybook/initial_state.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/storybook/initial_state.js b/storybook/initial_state.js
new file mode 100644
index 000000000..3872586f6
--- /dev/null
+++ b/storybook/initial_state.js
@@ -0,0 +1,24 @@
+export default {
+  meta: {
+    admin: 1,
+    domain: 'example.com',
+    me: 2,
+  },
+  accounts: {
+    1: {
+      acct: 'admin',
+      avatar: '/avatars/original/missing.png',
+      id: 1,
+      url: 'https://example.com/@admin',
+    },
+    2: {
+      acct: 'user',
+      avatar: '/avatars/original/missing.png',
+      id: 1,
+      url: 'https://example.com/@user',
+    },
+  },
+  media_attachments: {
+    accept_content_types: [],
+  },
+};