import React from 'react';
import { Option } from '../Option';
export type ReactEmpty = null | undefined | false | '';
export interface InternalOptionProps extends React.ComponentProps<'div'> {
/**
* Text shown above the group's options.
*/
label: string;
}
export interface OptionGroupProps extends InternalOptionProps {
/**
* Prevents all the contained options from being selectable.
* @default false
*/
disabled?: boolean;
/**
* `` elements
* @type
*/
children:
| React.ReactFragment
| React.ReactComponentElement
| Array<
| React.ReactComponentElement
| React.ReactFragment
| ReactEmpty
>;
}