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