mirror of
https://github.com/vercel/commerce.git
synced 2025-06-29 18:01:21 +00:00
Update Button.tsx
Button onClick props was missing
This commit is contained in:
parent
bbcf63b892
commit
58287a5ec3
@ -57,6 +57,7 @@ const Button: React.FC<ButtonProps> = forwardRef((props, buttonRef) => {
|
||||
width,
|
||||
...style,
|
||||
}}
|
||||
onClick={onClick}
|
||||
>
|
||||
{children}
|
||||
{loading && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user