From ab914ce6d5a681cf28486c663f01d0c481911c41 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Mon, 5 Jun 2017 17:08:07 +0900 Subject: Add OnboadingModal story (#3578) --- storybook/initial_state.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 storybook/initial_state.js (limited to 'storybook/initial_state.js') 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: [], + }, +}; -- cgit