@zjlab-fe/data-hub-ui 0.0.2 → 0.0.3

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;
@@ -0,0 +1,21 @@
1
+ export interface IProps {
2
+ /** 值变更回调时,期望传回的值的类型是数组,还是字符串 */
3
+ valueType: 'array' | 'string';
4
+ /** 值的类型是字符串数组,或者是以分号分隔的字符串 */
5
+ value?: string[] | string | undefined;
6
+ /** 值变更回调,如果值无效(空数组|空串),将传回undefined */
7
+ onChange?: (value: string[] | string | undefined) => void;
8
+ placeholder?: string;
9
+ maxLength?: number;
10
+ size?: 'large' | 'middle' | 'small';
11
+ /** 是否禁用,默认false */
12
+ disabled?: boolean;
13
+ /** 是否去重,默认true */
14
+ deduplicated?: boolean;
15
+ }
16
+ /**
17
+ * 输入标签
18
+ * @param props
19
+ * @returns
20
+ */
21
+ export default function InputTag(props: IProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
1
  export { default as Header } from './components/header';
2
+ export { default as InputTag } from './components/input-tag';
3
+ export type { IProps as InputTagProps } from './components/input-tag';