| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- import { KeysType } from '../common/common';
- export interface TdDropdownItemProps {
- disabled?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- keys?: {
- type: ObjectConstructor;
- value?: KeysType;
- };
- label?: {
- type: StringConstructor;
- value?: string;
- };
- multiple?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- options?: {
- type: ArrayConstructor;
- value?: Array<DropdownOption>;
- };
- optionsColumns?: {
- type: null;
- value?: string | number;
- };
- placement?: {
- type: StringConstructor;
- value?: 'left' | 'right';
- };
- value?: {
- type: null;
- value?: DropdownValue;
- };
- defaultValue?: {
- type: null;
- value?: DropdownValue;
- };
- }
- export interface DropdownOption {
- label: string;
- disabled: boolean;
- value: DropdownValue;
- }
- export declare type DropdownValue = string | number | Array<DropdownValue>;
|