diff --git a/src/components/Button/Button.tsx b/src/components/Button/Button.tsx index 63408f0..0cae94d 100644 --- a/src/components/Button/Button.tsx +++ b/src/components/Button/Button.tsx @@ -23,6 +23,10 @@ type Props = { onClick?: () => unknown | Promise; + onMouseEnter?: () => unknown | Promise; + + onMouseLeave?: () => unknown | Promise; + label: string; /** @@ -67,6 +71,8 @@ export function Button({ label, className = "", Icon, + onMouseEnter, + onMouseLeave, fetching = false, disabled = false, style, @@ -76,6 +82,8 @@ export function Button({ return (