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';
|
2023-10-11 19:06:43 +00:00
|
|
|
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',
|
2023-10-11 19:06:43 +00:00
|
|
|
argTypes: {
|
|
|
|
label: { control: { type: 'text' } },
|
|
|
|
},
|
|
|
|
args: {
|
|
|
|
label: 'placeholder text',
|
|
|
|
},
|
|
|
|
} satisfies Meta<Props>;
|
2020-08-20 21:38:18 +00:00
|
|
|
|
2023-10-11 19:06:43 +00:00
|
|
|
export function Default(args: Props): JSX.Element {
|
|
|
|
return <EmptyState {...args} />;
|
2022-11-18 00:45:19 +00:00
|
|
|
}
|