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.
28 lines (21 loc) • 491 B
text/typescript
// ThreeD Garden Helper Functions
import pxToRem from "~/themes/theme-light/functions/pxToRem"
// types
type Types = any
const svgIcon: Types = {
defaultProps: {
fontSize: "inherit",
},
styleOverrides: {
fontSizeInherit: {
fontSize: "inherit !important",
},
fontSizeSmall: {
fontSize: `${pxToRem(20)} !important`,
},
fontSizeLarge: {
fontSize: `${pxToRem(36)} !important`,
},
},
}
export default svgIcon