signal-desktop/sticker-creator/components/ShareButtons.stories.tsx
2019-12-17 12:28:46 -08:00

16 lines
441 B
TypeScript

import * as React from 'react';
import { StoryRow } from '../elements/StoryRow';
import { ShareButtons } from './ShareButtons';
import { storiesOf } from '@storybook/react';
import { text } from '@storybook/addon-knobs';
storiesOf('Sticker Creator/components', module).add('ShareButtons', () => {
const value = text('value', 'https://signal.org');
return (
<StoryRow>
<ShareButtons value={value} />
</StoryRow>
);
});