moved back the components

This commit is contained in:
ari committed 2021-12-01 16:38:30 -05:00
1 parent 24afb602cb
commit 0764feb432
18 files changed
+786

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
import { ButtonHTMLAttributes, FC } from "react";
import { createAppUseStyles } from "styles/theme";
import { useButtonStyles } from "./styles";
// const useButtonStyles = createAppUseStyles(theme => ({
// button: {
// backgroundColor: theme.secondary,
// color: theme.primaryAccent,
// borderColor: theme.primaryAccent,
// borderStyle: 'solid',
// borderWidth: 1,
// padding: '2.5%',
// marginLeft: '5%',
// marginRight: '5%',
// borderRadius: '5px',
// cursor: 'pointer',
// '&:hover': {
// backgroundColor: theme.primary,
// borderColor: theme.secondaryAccent,
// }
// }
// }))
export const Button: FC<ButtonHTMLAttributes<HTMLButtonElement>> = props => {
const { classes } = useButtonStyles({});
return <button {...props} className={`${classes.input} ${props.className ?? ''}`} />
}