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

22 lines
547 B
TypeScript
Raw Normal View History

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