tntd
Version:
tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。
26 lines • 890 B
TypeScript
import React, { ReactNode } from 'react';
import { default as AntdSelect } from 'antd/lib/select';
import type { SelectProps as AntdSelectProps } from 'antd/lib/select';
export interface SelectProps extends AntdSelectProps {
borderStyle?: 'outline' | 'fill';
children?: ReactNode;
options?: Array<string | number | {
label: string;
value: string | number;
disabled?: boolean;
}>;
fieldNames?: {
label?: string;
value?: string;
options?: string;
};
readonly?: boolean;
}
interface SelectComponent extends React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<AntdSelect>> {
OptGroup: typeof AntdSelect.OptGroup;
Option: typeof AntdSelect.Option;
}
export declare const InternalSelect: SelectComponent;
export declare const Select: SelectComponent;
export {};
//# sourceMappingURL=select.d.ts.map