// Copyright 2020 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import * as React from 'react'; import type { Meta } from '@storybook/react'; import type { PropsType } from './ContactName'; import { ContactName } from './ContactName'; import { ContactNameColors } from '../../types/Colors'; export default { title: 'Components/Conversation/ContactName', } satisfies Meta; export function FirstNameAndTitleTitlePreferred(): JSX.Element { return ; } export function FirstNameAndTitleFirstNamePreferred(): JSX.Element { return ( ); } export function Colors(): JSX.Element { return ( <> {ContactNameColors.map(color => (
))} ); }