fix spelling typo in button props destructuring
This commit is contained in:
parent
682ea8b0ab
commit
ac3e10a0a4
@ -126,12 +126,12 @@ export const Button = forwardRef<HTMLButtonElement, ButtonProps>(
|
||||
className,
|
||||
prependIconName,
|
||||
appendIconName,
|
||||
...prosp
|
||||
...props
|
||||
},
|
||||
ref
|
||||
) => {
|
||||
return (
|
||||
<button ref={ref} className={getClassName(className, variant)} {...prosp}>
|
||||
<button ref={ref} className={getClassName(className, variant)} {...props}>
|
||||
{getContent(children, prependIconName, appendIconName)}
|
||||
</button>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user