signal-desktop/sticker-creator/components/ShareButtons.stories.tsx
2022-06-06 17:48:02 -07:00

26 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',
};