13 lines
451 B
TypeScript
13 lines
451 B
TypeScript
import * as React from 'react';
|
|
import { OptionGroupData } from './interface';
|
|
export interface OptGroupProps extends Omit<OptionGroupData, 'options'> {
|
|
children?: React.ReactNode;
|
|
}
|
|
export interface OptionGroupFC extends React.FC<OptGroupProps> {
|
|
/** Legacy for check if is a Option Group */
|
|
isSelectOptGroup: boolean;
|
|
}
|
|
/** This is a placeholder, not real render in dom */
|
|
declare const OptGroup: OptionGroupFC;
|
|
export default OptGroup;
|