// Copyright 2025 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; import { action } from '@storybook/addon-actions'; import { setupI18n } from '../util/setupI18n'; import enMessages from '../../_locales/en/messages.json'; import type { PropsType } from './AttachmentNotAvailableModal'; import { AttachmentNotAvailableModal, AttachmentNotAvailableModalType, } from './AttachmentNotAvailableModal'; import type { ComponentMeta } from '../storybook/types'; const i18n = setupI18n('en', enMessages); export default { title: 'Components/AttachmentNotAvailableModal', component: AttachmentNotAvailableModal, args: { modalType: AttachmentNotAvailableModalType.VisualMedia, i18n, onClose: action('onClose'), }, } satisfies ComponentMeta; export function File(args: PropsType): JSX.Element { return ( ); } export function LongText(args: PropsType): JSX.Element { return ( ); } export function Sticker(args: PropsType): JSX.Element { return ( ); } export function VisualMedia(args: PropsType): JSX.Element { return ( ); } export function VoiceMessage(args: PropsType): JSX.Element { return ( ); }