diff --git a/package.json b/package.json index 72af215..d486fbf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bbodek-ui", - "version": "0.0.212", + "version": "0.0.214", "type": "module", "author": "Bbodek", "license": "MIT", diff --git a/src/core/components/Button/ButtonIcon/index.tsx b/src/core/components/Button/ButtonIcon/index.tsx index 966a3e7..6f3acb6 100644 --- a/src/core/components/Button/ButtonIcon/index.tsx +++ b/src/core/components/Button/ButtonIcon/index.tsx @@ -1,13 +1,14 @@ +import clsx from "clsx"; import ButtonBase from "../ButtonBase"; import { ROUNDED } from "../ButtonBase/constants"; import { BUTTON_SIZE } from "./constants"; import { ButtonIconProps } from "./types"; const ButtonIcon = ({ icon, isCircle = false, ...props }: ButtonIconProps) => { - const { rounded, size, ...rest } = props; + const { rounded, size, className, ...rest } = props; return ( - + {icon} );