22 lines
460 B
TypeScript
22 lines
460 B
TypeScript
import { FC, ReactNode } from "react";
|
|
import MuiButton from "@mui/material/Button";
|
|
|
|
export const Button: FC<{
|
|
className?: string;
|
|
title?: string;
|
|
disabled?: boolean;
|
|
children?: ReactNode;
|
|
onClick?: () => void;
|
|
}> = (props) => {
|
|
return (
|
|
<MuiButton
|
|
className={props.className}
|
|
title={props.title}
|
|
disabled={props.disabled}
|
|
onClick={props.onClick}
|
|
variant="outlined"
|
|
children={props.children}
|
|
/>
|
|
);
|
|
};
|