forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.stories.tsx
More file actions
31 lines (29 loc) · 742 Bytes
/
index.stories.tsx
File metadata and controls
31 lines (29 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import React from 'react';
import { storiesOf } from '@storybook/react';
import GithubBadge from '.';
const stories = storiesOf('components/GithubBadge', module);
stories
.add('Master', () => (
<GithubBadge
username="CompuIves"
repo="codesandbox-client"
branch="master"
commitSha="9823ru9238ru8u998ur2398ru"
/>
))
.add('Other Branch', () => (
<GithubBadge
username="CompuIves"
repo="codesandbox-client"
branch="storybook"
commitSha="9823ru9238ru8u998ur2398ru"
/>
))
.add('CommitSha', () => (
<GithubBadge
username="CompuIves"
repo="codesandbox-client"
branch="9823ru9238ru8u998ur2398ru"
commitSha="9823ru9238ru8u998ur2398ru"
/>
));