cleaned up styles a bit
This commit is contained in:
1 parent
3acbaf576d
commit
451b3638bf
28 files changed
+864
-705
No files matched your search
@@ -1,7 +1,21 @@
|
||||
import { ButtonHTMLAttributes, FC } from "react";
|
||||
import { useButtonStyles } from "./styles";
|
||||
import { FC, ReactNode } from "react";
|
||||
import MuiButton from "@mui/material/Button";
|
||||
|
||||
export const Button: FC<ButtonHTMLAttributes<HTMLButtonElement>> = props => {
|
||||
const { classes } = useButtonStyles({});
|
||||
return <button {...props} className={`${classes.input} ${props.className ?? ''}`} />
|
||||
}
|
||||
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}
|
||||
/>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user