@xinghunm/compass-ui 0.4.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 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>;
@@ -1323,6 +1333,7 @@ interface FormItemProps {
1323
1333
  initialValue?: unknown;
1324
1334
  className?: string;
1325
1335
  style?: React__default.CSSProperties;
1336
+ help?: React__default.ReactNode;
1326
1337
  }
1327
1338
  declare const FormItem: React__default.FC<FormItemProps>;
1328
1339
 
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>;
@@ -1323,6 +1333,7 @@ interface FormItemProps {
1323
1333
  initialValue?: unknown;
1324
1334
  className?: string;
1325
1335
  style?: React__default.CSSProperties;
1336
+ help?: React__default.ReactNode;
1326
1337
  }
1327
1338
  declare const FormItem: React__default.FC<FormItemProps>;
1328
1339