drip-table
Version:
A tiny and powerful enterprise-class solution for building tables.
19 lines (18 loc) • 912 B
TypeScript
import './index.less';
import { SelectProps as RcSelectProps } from 'rc-select';
import React from 'react';
export interface SelectProps extends RcSelectProps {
mini?: boolean;
bordered?: boolean;
}
declare const Select: (<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: RcSelectProps<ValueType, OptionType> & {
children?: React.ReactNode;
} & {
ref?: React.Ref<import("rc-select").BaseSelectRef> | undefined;
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
Option: import("rc-select/lib/Option").OptionFC;
OptGroup: import("rc-select/lib/OptGroup").OptionGroupFC;
} & React.NamedExoticComponent<SelectProps> & {
readonly type: ({ mini, ...props }: SelectProps) => React.JSX.Element;
};
export default Select;