@loadsmart/loadsmart-ui 6.0.10 → 6.0.11
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.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Tag/Tag.tsx +6 -1
package/package.json
CHANGED
|
@@ -355,7 +355,12 @@ function Tag(props: TagProps): JSX.Element {
|
|
|
355
355
|
{removable && !disabled && (
|
|
356
356
|
<>
|
|
357
357
|
<StyledSpacer aria-hidden="true" size={size} />
|
|
358
|
-
<StyledCloseButton
|
|
358
|
+
<StyledCloseButton
|
|
359
|
+
type="button"
|
|
360
|
+
{...getRemoveButtonProps?.()}
|
|
361
|
+
size={size}
|
|
362
|
+
onClick={onRemove}
|
|
363
|
+
>
|
|
359
364
|
<CloseIcon name="close" variant={variant} size={size} />
|
|
360
365
|
</StyledCloseButton>
|
|
361
366
|
</>
|