UNPKG

@ant-design/x

Version:

Craft AI-driven interfaces effortlessly

21 lines (20 loc) 838 B
import * as React from 'react'; export interface SendHeaderContextProps { prefixCls: string; } export declare const SendHeaderContext: React.Context<SendHeaderContextProps>; export type SemanticType = 'header' | 'content'; export interface SenderHeaderProps extends Omit<React.HTMLAttributes<HTMLLIElement>, 'onClick' | 'value' | 'defaultValue' | 'onChange' | 'title'> { forceRender?: boolean; open?: boolean; onOpenChange?: (open: boolean) => void; title?: React.ReactNode; children?: React.ReactNode; prefixCls?: string; className?: string; style?: React.CSSProperties; classNames?: Partial<Record<SemanticType, string>>; styles?: Partial<Record<SemanticType, React.CSSProperties>>; closable?: boolean; } export default function SenderHeader(props: SenderHeaderProps): React.JSX.Element;