lossless-cut/src/components/Button.jsx

11 wiersze
303 B
React
Czysty Zwykły widok Historia

2024-02-20 14:51:33 +00:00
import { memo } from 'react';
2024-02-10 10:22:05 +00:00
import styles from './Button.module.css';
const Button = memo(({ type = 'button', ...props }) => (
// eslint-disable-next-line react/jsx-props-no-spreading, react/button-has-type
<button className={styles.button} type={type} {...props} />
));
export default Button;