UNPKG

462 BTypeScriptView Raw
1import type * as React from 'react';
2import type { DefaultOptionType } from './Select';
3export interface OptGroupProps extends Omit<DefaultOptionType, 'options'> {
4 children?: React.ReactNode;
5}
6export interface OptionGroupFC extends React.FC<OptGroupProps> {
7 /** Legacy for check if is a Option Group */
8 isSelectOptGroup: boolean;
9}
10/** This is a placeholder, not real render in dom */
11declare const OptGroup: OptionGroupFC;
12export default OptGroup;