Signal-Desktop/sticker-creator/components/ShareButtons.stories.tsx

27 lines
568 B
TypeScript

// Copyright 2019-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react';
import { text } from '@storybook/addon-knobs';
import { StoryRow } from '../elements/StoryRow';
import { ShareButtons } from './ShareButtons';
export default {
title: 'Sticker Creator/components',
};
export const _ShareButtons = (): JSX.Element => {
const value = text('value', 'https://signal.org');
return (
<StoryRow>
<ShareButtons value={value} />
</StoryRow>
);
};
_ShareButtons.story = {
name: 'ShareButtons',
};