mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
ts(Tree.tsx): translated chinese ts defintions to english (#40445)
This commit is contained in:
parent
79c25f620a
commit
8fc56256e7
@ -112,37 +112,37 @@ export interface TreeProps<T extends BasicDataNode = DataNode>
|
||||
> {
|
||||
showLine?: boolean | { showLeafIcon: boolean | TreeLeafIcon };
|
||||
className?: string;
|
||||
/** 是否支持多选 */
|
||||
/** Whether to support multiple selection */
|
||||
multiple?: boolean;
|
||||
/** 是否自动展开父节点 */
|
||||
/** Whether to automatically expand the parent node */
|
||||
autoExpandParent?: boolean;
|
||||
/** Checkable状态下节点选择完全受控(父子节点选中状态不再关联) */
|
||||
/** Node selection in Checkable state is fully controlled (the selected state of parent and child nodes is no longer associated) */
|
||||
checkStrictly?: boolean;
|
||||
/** 是否支持选中 */
|
||||
/** Whether to support selection */
|
||||
checkable?: boolean;
|
||||
/** 是否禁用树 */
|
||||
/** whether to disable the tree */
|
||||
disabled?: boolean;
|
||||
/** 默认展开所有树节点 */
|
||||
/** Expand all tree nodes by default */
|
||||
defaultExpandAll?: boolean;
|
||||
/** 默认展开对应树节点 */
|
||||
/** Expand the corresponding tree node by default */
|
||||
defaultExpandParent?: boolean;
|
||||
/** 默认展开指定的树节点 */
|
||||
/** Expand the specified tree node by default */
|
||||
defaultExpandedKeys?: Key[];
|
||||
/** (受控)展开指定的树节点 */
|
||||
/** (Controlled) Expand the specified tree node */
|
||||
expandedKeys?: Key[];
|
||||
/** (受控)选中复选框的树节点 */
|
||||
/** (Controlled) Tree node with checked checkbox */
|
||||
checkedKeys?: Key[] | { checked: Key[]; halfChecked: Key[] };
|
||||
/** 默认选中复选框的树节点 */
|
||||
/** Tree node with checkbox checked by default */
|
||||
defaultCheckedKeys?: Key[];
|
||||
/** (受控)设置选中的树节点 */
|
||||
/** (Controlled) Set the selected tree node */
|
||||
selectedKeys?: Key[];
|
||||
/** 默认选中的树节点 */
|
||||
/** Tree node selected by default */
|
||||
defaultSelectedKeys?: Key[];
|
||||
selectable?: boolean;
|
||||
/** 点击树节点触发 */
|
||||
/** Click on the tree node to trigger */
|
||||
filterAntTreeNode?: (node: AntTreeNode) => boolean;
|
||||
loadedKeys?: Key[];
|
||||
/** 设置节点可拖拽(IE>8) */
|
||||
/** Set the node to be draggable (IE>8) */
|
||||
draggable?: DraggableFn | boolean | DraggableConfig;
|
||||
style?: React.CSSProperties;
|
||||
showIcon?: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user