// Copyright 2020 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import * as React from 'react'; import { action } from '@storybook/addon-actions'; import type { Meta } from '@storybook/react'; import type { Props } from './PanelSection'; import { PanelSection } from './PanelSection'; import { PanelRow } from './PanelRow'; export default { title: 'Components/Conversation/ConversationDetails/PanelSection', argTypes: {}, args: { title: 'this is a panel row', centerTitle: false, actions: null, }, } satisfies Meta; export function Basic(args: Props): JSX.Element { return ; } export function Centered(args: Props): JSX.Element { return ; } export function WithActions(args: Props): JSX.Element { return ( action } /> ); } export function WithContent(args: Props): JSX.Element { return ( ); }