Styling of home
This commit is contained in:
13
components/shared/Button/Button.tsx
Normal file
13
components/shared/Button/Button.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { ButtonHTMLAttributes, FC } from 'react'
|
||||
import cx from 'classnames'
|
||||
import styles from './Button.module.css'
|
||||
|
||||
type Props = ButtonHTMLAttributes<HTMLButtonElement>
|
||||
|
||||
export const Button: FC<Props> = ({ className, children, ...rest }) => {
|
||||
return (
|
||||
<button className={cx(styles.root, className)} {...rest}>
|
||||
{children}
|
||||
</button>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user