// Copyright 2020 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import * as React from 'react'; import type { Meta } from '@storybook/react'; import { setupI18n } from '../../util/setupI18n'; import enMessages from '../../../_locales/en/messages.json'; import type { Props } from './VerificationNotification'; import { VerificationNotification } from './VerificationNotification'; const i18n = setupI18n('en', enMessages); const contact = { title: 'Mr. Fire' }; export default { title: 'Components/Conversation/VerificationNotification', argTypes: { type: { control: { type: 'select', options: ['markVerified', 'markNotVerified'], }, }, isLocal: { control: { type: 'boolean' } }, }, args: { i18n, type: 'markVerified', isLocal: true, contact, }, } satisfies Meta; export function MarkAsVerified(args: Props): JSX.Element { return ; } export function MarkAsNotVerified(args: Props): JSX.Element { return ; } export function MarkAsVerifiedRemotely(args: Props): JSX.Element { return ( ); } export function MarkAsNotVerifiedRemotely(args: Props): JSX.Element { return ( ); } export function LongName(args: Props): JSX.Element { const longName = '🎆🍬🏈'.repeat(50); return ( ); }