fix spelling typo in button props destructuring

This commit is contained in:
Matthew Russell 2022-03-07 12:45:39 -08:00
parent 682ea8b0ab
commit ac3e10a0a4

View File

@ -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>
);