import React, { forwardRef } from 'react'; import classNames from 'classnames'; import styles from './style.module.css'; export type ButtonProps = JSX.IntrinsicElements['button'] & { square?: boolean; small?: boolean; } const Button = forwardRef( ({ children, square, small, className, ...rest }, ref) => { return ( ); }, ); const TextButton = forwardRef(({ className, ...props }, ref) => ( // @ts-expect-error