@xinghunm/compass-ui 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +286 -286
- package/dist/index.mjs +286 -286
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -312,6 +312,16 @@ interface TreeSelectProps extends Omit<SelectProps, 'options' | 'onChange'> {
|
|
|
312
312
|
* Custom icon for selected tree node
|
|
313
313
|
*/
|
|
314
314
|
treeSelectedIcon?: React__default.ReactNode;
|
|
315
|
+
/**
|
|
316
|
+
* Custom title render
|
|
317
|
+
*/
|
|
318
|
+
titleRender?: (node: DataNode, searchValue: string) => React__default.ReactNode;
|
|
319
|
+
/**
|
|
320
|
+
* Custom expand icon
|
|
321
|
+
*/
|
|
322
|
+
switcherIcon?: React__default.ReactNode | ((props: {
|
|
323
|
+
expanded: boolean;
|
|
324
|
+
}) => React__default.ReactNode);
|
|
315
325
|
}
|
|
316
326
|
|
|
317
327
|
declare const TreeSelect: React__default.FC<TreeSelectProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -312,6 +312,16 @@ interface TreeSelectProps extends Omit<SelectProps, 'options' | 'onChange'> {
|
|
|
312
312
|
* Custom icon for selected tree node
|
|
313
313
|
*/
|
|
314
314
|
treeSelectedIcon?: React__default.ReactNode;
|
|
315
|
+
/**
|
|
316
|
+
* Custom title render
|
|
317
|
+
*/
|
|
318
|
+
titleRender?: (node: DataNode, searchValue: string) => React__default.ReactNode;
|
|
319
|
+
/**
|
|
320
|
+
* Custom expand icon
|
|
321
|
+
*/
|
|
322
|
+
switcherIcon?: React__default.ReactNode | ((props: {
|
|
323
|
+
expanded: boolean;
|
|
324
|
+
}) => React__default.ReactNode);
|
|
315
325
|
}
|
|
316
326
|
|
|
317
327
|
declare const TreeSelect: React__default.FC<TreeSelectProps>;
|