@touchtech/baselayer-ui 8.2.2 → 8.2.4
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.
|
@@ -4,7 +4,9 @@ type Props = {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
closable?: boolean;
|
|
6
6
|
value?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
onDelete?: (value: string) => void;
|
|
7
9
|
onClose?: (event: React.MouseEvent<HTMLElement>, value: string) => void;
|
|
8
10
|
};
|
|
9
|
-
declare function Tag({ children, className, closable, value, onClose }: Props): JSX.Element;
|
|
11
|
+
declare function Tag({ children, className, closable, value, onClose, disabled, onDelete }: Props): JSX.Element;
|
|
10
12
|
export default Tag;
|
|
@@ -13,6 +13,7 @@ type TagsInputProps = {
|
|
|
13
13
|
autoFocus?: boolean;
|
|
14
14
|
inputRef?: React.RefObject<HTMLInputElement>;
|
|
15
15
|
inputMode?: TextInputMode;
|
|
16
|
+
disabled?: boolean;
|
|
16
17
|
};
|
|
17
|
-
declare function TagsInput({ className, onChange, placeholder, value, name, pattern, inputRef, size, type, autoFocus, noBorder, inputMode, }: TagsInputProps): JSX.Element;
|
|
18
|
+
declare function TagsInput({ className, onChange, placeholder, value, name, pattern, inputRef, size, type, autoFocus, noBorder, inputMode, disabled, }: TagsInputProps): JSX.Element;
|
|
18
19
|
export default TagsInput;
|