1 | import type * as React from 'react';
|
2 | import type { DefaultOptionType } from './Select';
|
3 | export interface OptionProps extends Omit<DefaultOptionType, 'label'> {
|
4 | children: React.ReactNode;
|
5 | /** Save for customize data */
|
6 | [prop: string]: any;
|
7 | }
|
8 | export interface OptionFC extends React.FC<OptionProps> {
|
9 | /** Legacy for check if is a Option Group */
|
10 | isSelectOption: boolean;
|
11 | }
|
12 | /** This is a placeholder, not real render in dom */
|
13 | declare const Option: OptionFC;
|
14 | export default Option;
|