123456789101112131415161718192021 |
- import {action} from '@storybook/addon-actions';
- import TextCopyInput from 'sentry/components/textCopyInput';
- export default {
- title: 'Utilities/Copy/Input',
- component: TextCopyInput,
- argTypes: {
- children: {
- table: {
- disable: true,
- },
- },
- },
- };
- export const _TextCopyInput = () => (
- <TextCopyInput onCopy={action('Copied!')}>Value to be copied </TextCopyInput>
- );
- _TextCopyInput.storyName = 'Input';
|