w-aura/src/components/pages/Mike/v1/ui/Button/index.tsx
Daniil Chemerkin 494e048294 Develop
2024-07-31 21:56:08 +00:00

17 lines
469 B
TypeScript

import styles from './styles.module.css'
import MainButton from "@/components/MainButton";
import { ButtonHTMLAttributes, FC } from "react";
import cn from "classnames";
type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
color?: "black" | "blue";
};
export const Button: FC<ButtonProps> = ({ children, className, ...props }) => {
return (
<MainButton className={cn(className, styles.button)} {...props}>
{children}
</MainButton>
);
};