signal-desktop/ts/components/conversation/media-gallery/EmptyState.stories.tsx

22 lines
547 B
TypeScript
Raw Normal View History

2020-10-30 15:34:04 -05:00
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
2020-08-20 14:38:18 -07:00
import * as React from 'react';
import type { Meta } from '@storybook/react';
import type { Props } from './EmptyState';
2020-08-20 14:38:18 -07:00
import { EmptyState } from './EmptyState';
2022-06-06 20:48:02 -04:00
export default {
title: 'Components/Conversation/MediaGallery/EmptyState',
argTypes: {
label: { control: { type: 'text' } },
},
args: {
label: 'placeholder text',
},
} satisfies Meta<Props>;
2020-08-20 14:38:18 -07:00
export function Default(args: Props): JSX.Element {
return <EmptyState {...args} />;
2022-11-17 16:45:19 -08:00
}