signal-desktop/ts/components/conversation/media-gallery/EmptyState.stories.tsx
2020-08-28 15:42:24 -04:00

15 lines
435 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
);
story.addDecorator((withKnobs as any)({ escapeHTML: false }));
story.add('Default', () => {
return <EmptyState label={text('label', 'placeholder text')} />;
});