12 lines
264 B
TypeScript
12 lines
264 B
TypeScript
import { ButtonProps } from "./button"
|
|
|
|
import styles from "./button.module.css"
|
|
|
|
export default function Button({ children, ...props }: ButtonProps) {
|
|
return (
|
|
<button type="button" className={styles.button} {...props}>
|
|
{children}
|
|
</button>
|
|
)
|
|
}
|