UNPKG

@payfit/unity-components

Version:

13 lines (12 loc) • 781 B
import { ReactNode } from 'react'; import { ButtonProps } from 'react-aria-components/Button'; export interface AIProposalCardHeaderProps extends Omit<ButtonProps, 'children' | 'className' | 'slot'> { /** Header content, typically AIProposalCardSubtitle and AIProposalCardTitle. */ children: ReactNode; /** Heading level used for historical proposal headers. @default 3 */ level?: 1 | 2 | 3 | 4 | 5 | 6; /** Overrides the accessible name of the historical-proposal disclosure trigger. */ disclosureLabel?: string; } /** Renders the status/title header and historical-proposal disclosure control. */ export declare const AIProposalCardHeader: import('react').ForwardRefExoticComponent<AIProposalCardHeaderProps & import('react').RefAttributes<HTMLElement>>;