It also would be better to use Extract on the shared button props to extract only InputHTMLAttributes<HTMLInputElement> props for <button {...extractedProps}>. In case if you decided to use some custom props for example loading: boolean it will also be sent to <button/> and cause warnings that your loading prop is not in default button props.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It also would be better to use Extract on the shared button props to extract only
InputHTMLAttributes<HTMLInputElement>props for<button {...extractedProps}>. In case if you decided to use some custom props for exampleloading: booleanit will also be sent to<button/>and cause warnings that yourloadingprop is not in default button props.