@zjlab-fe/data-hub-ui 0.3.0 → 0.3.1
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Demo(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface IProps {
|
|
2
2
|
/** 值变更回调时,期望传回的值的类型是数组,还是字符串 */
|
|
3
3
|
valueType: 'array' | 'string';
|
|
4
|
-
/**
|
|
4
|
+
/** 值的类型是字符串数组,或者是以英文分号or中文分号分隔的字符串 */
|
|
5
5
|
value?: string[] | string | undefined;
|
|
6
6
|
/** 值变更回调,如果值无效(空数组|空串),将传回undefined */
|
|
7
7
|
onChange?: (value: string[] | string | undefined) => void;
|