UNPKG

@chief-editor/ui

Version:

UI Component for chief editor

10 lines (9 loc) 432 B
import { UnionOmit } from '@co-hooks/util'; import { HTMLAttributes, ReactNode } from 'react'; export interface ISelectOptionGroup { title: string; renderTitle?: (title: string) => ReactNode | ReactNode; children?: ReactNode; } export declare type SelectOptionGroupProps = UnionOmit<ISelectOptionGroup, HTMLAttributes<HTMLDivElement>>; export declare function OptionGroup<T>(props: SelectOptionGroupProps): JSX.Element;