signal-desktop/ts/components/conversation/media-gallery/EmptyState.stories.tsx
2020-09-21 15:42:51 -04:00

16 lines
498 B
TypeScript

import * as React from 'react';
import { storiesOf } from '@storybook/react';
import { text, withKnobs } from '@storybook/addon-knobs';
import { EmptyState } from './EmptyState';
const story = storiesOf(
'Components/Conversation/MediaGallery/EmptyState',
module
);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
story.addDecorator((withKnobs as any)({ escapeHTML: false }));
story.add('Default', () => {
return <EmptyState label={text('label', 'placeholder text')} />;
});