import { Component } from 'react'; import { MenuItemProps } from '@befe/brick-comp-menu'; import { SelectOptionValue } from './common'; type PropsFromMenuItem = Omit; export interface SelectOptionProps extends Omit { /** * 自定义 class */ className?: string; /** * 选项的值 * 亦是选项的唯一标识 */ value: SelectOptionValue; /** * 选项的显示文字,用于"已选择" 的显示, * * 如不指定则从 children 提取文字作为显示文字 */ label?: string; } export declare class Option extends Component { static displayName: string; static defaultProps: { className: string; }; get className(): string; get menuItemProps(): MenuItemProps; render(): import("react/jsx-runtime").JSX.Element; } export {};