We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c28ed3 commit 517ab4cCopy full SHA for 517ab4c
components/cascader/index.en-US.md
@@ -75,6 +75,10 @@ interface Option {
75
label?: React.ReactNode;
76
disabled?: boolean;
77
children?: Option[];
78
+ // Determines if this is a leaf node(effective when `loadData` is specified).
79
+ // `false` will force trade TreeNode as a parent node.
80
+ // Show expand icon even if the current node has no children.
81
+ isLeaf?: boolean;
82
}
83
```
84
components/cascader/index.zh-CN.md
@@ -77,6 +77,9 @@ interface Option {
+ // 标记是否为叶子节点,设置了 `loadData` 时有效
+ // 设为 `false` 时会强制标记为父节点,即使当前节点没有 children,也会显示展开图标
85
0 commit comments