plataforma-fundacao-componentes 2.26.8 → 2.26.9
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.
|
@@ -7,7 +7,6 @@ export interface IconButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonEle
|
|
|
7
7
|
'tooltip-text'?: string;
|
|
8
8
|
icon?: string | React.ReactNode;
|
|
9
9
|
theme?: IconButtonType;
|
|
10
|
-
disabled?: boolean;
|
|
11
10
|
className?: string;
|
|
12
11
|
}
|
|
13
12
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>>;
|
package/dist/index.js
CHANGED
|
@@ -5253,11 +5253,11 @@ var IconButton = React.forwardRef(function (_ref, ref) {
|
|
|
5253
5253
|
}
|
|
5254
5254
|
}, [disabled, onClick]);
|
|
5255
5255
|
var classNames = useMergedClassNames([rootClassName$1M, props.className, rootClassName$1M + "-" + theme]);
|
|
5256
|
-
return React__default.createElement("button", Object.assign({
|
|
5256
|
+
return React__default.createElement("button", Object.assign({}, props, {
|
|
5257
5257
|
ref: ref,
|
|
5258
|
-
onClick: handleClick
|
|
5259
|
-
|
|
5260
|
-
|
|
5258
|
+
onClick: handleClick,
|
|
5259
|
+
className: classNames,
|
|
5260
|
+
disabled: disabled
|
|
5261
5261
|
}), icon);
|
|
5262
5262
|
});
|
|
5263
5263
|
IconButton.displayName = 'IconButton';
|