fix submit button
This commit is contained in:
parent
3454ea9dfa
commit
d82edcac60
@ -1,10 +1,11 @@
|
||||
/* eslint-disable react/button-has-type */
|
||||
import styles from './Button.module.css';
|
||||
|
||||
type ButtonProps = JSX.IntrinsicElements['button'];
|
||||
|
||||
export default function Button({ children, ...props }: ButtonProps) {
|
||||
return (
|
||||
<button type="button" className={styles.btn} {...props}>
|
||||
<button className={styles.btn} {...props}>
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user