ported parts of node editor

This commit is contained in:
ari committed 2021-12-01 17:07:43 -05:00
1 parent 0764feb432
commit 59542abad7
11 files changed
+227 -75

No files matched your search

-19
View File
@@ -1,25 +1,6 @@
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 ?? ''}`} />