react-garden
Version:
React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.
35 lines (31 loc) • 1.15 kB
text/typescript
// ThreeD Garden Button Styles
import root from "~/themes/theme-light/components/button/root"
import contained from "~/themes/theme-light/components/button/contained"
import outlined from "~/themes/theme-light/components/button/outlined"
import text from "~/themes/theme-light/components/button/text"
// types
type Types = any
const button: Types = {
defaultProps: {
disableRipple: false,
},
styleOverrides: {
root: { ...root },
contained: { ...contained.base },
containedSizeSmall: { ...contained.small },
containedSizeLarge: { ...contained.large },
containedPrimary: { ...contained.primary },
containedSecondary: { ...contained.secondary },
outlined: { ...outlined.base },
outlinedSizeSmall: { ...outlined.small },
outlinedSizeLarge: { ...outlined.large },
outlinedPrimary: { ...outlined.primary },
outlinedSecondary: { ...outlined.secondary },
text: { ...text.base },
textSizeSmall: { ...text.small },
textSizeLarge: { ...text.large },
textPrimary: { ...text.primary },
textSecondary: { ...text.secondary },
},
}
export default button