Caption
type Caption = { id?: string; key?: string; size?: CaptionSize; type: 'Caption';} & BaseTextProps;
Type Declaration
Section titled “Type Declaration”optional id: string;
optional key: string;
optional size: CaptionSize;
type: 'Caption';