forked from linkong/planet
first commit
This commit is contained in:
commit
e7033775d8
20657 files changed
+1988940
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
import type * as React from 'react';
|
||||
export type RawValueType = string | number;
|
||||
export interface FlattenOptionData<OptionType> {
|
||||
label?: React.ReactNode;
|
||||
data: OptionType;
|
||||
key: React.Key;
|
||||
value?: RawValueType;
|
||||
groupOption?: boolean;
|
||||
group?: boolean;
|
||||
}
|
||||
export interface DisplayValueType {
|
||||
key?: React.Key;
|
||||
value?: RawValueType;
|
||||
label?: React.ReactNode;
|
||||
title?: React.ReactNode;
|
||||
disabled?: boolean;
|
||||
}
|
||||
export type RenderNode = React.ReactNode | ((props: any) => React.ReactNode);
|
||||
export type RenderDOMFunc = (props: any) => HTMLElement;
|
||||
export type Mode = 'multiple' | 'tags' | 'combobox';
|
||||
export type Placement = 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';
|
||||
export type DisplayInfoType = 'add' | 'remove' | 'clear';
|
||||
Reference in new issue
Block a user