adui
Version:
<div> <img src="https://wxa.wxs.qq.com/mpweb/delivery/legacy/wxadtouch/upload/t1/od834zef_52939fc6.png" style="margin:40px 0 0 -8px; background-color: #fcfcfc; box-shadow: none;" /> </div>
23 lines (22 loc) • 592 B
TypeScript
import * as React from "react";
export interface OptionProps {
[key: string]: any;
key?: React.ReactText;
disabled?: boolean;
value: React.ReactText;
title?: string;
className?: string;
style?: React.CSSProperties;
label?: React.ReactNode;
/** @deprecated Only works when use `children` as option data */
children: React.ReactNode;
}
export interface OptionFC extends React.FC<OptionProps> {
/** Legacy for check if is a Option Group */
isSelectOption: boolean;
}
/**
* Select.Option
*/
declare const Option: OptionFC;
export default Option;