mirror of
https://github.com/vercel/commerce.git
synced 2025-06-18 05:01:22 +00:00
Add onClick prop to Button's Component element
This commit is contained in:
parent
7f8d37b3b9
commit
e6f2c6870a
@ -52,6 +52,7 @@ const Button: React.FC<ButtonProps> = forwardRef((props, buttonRef) => {
|
||||
data-variant={variant}
|
||||
ref={mergeRefs([ref, buttonRef])}
|
||||
className={rootClassName}
|
||||
onClick={onClick}
|
||||
disabled={disabled}
|
||||
style={{
|
||||
width,
|
||||
|
Loading…
x
Reference in New Issue
Block a user