Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default props => {
// switch typography themes
const [ themeName, setTheme ] = useState(themeNames[0])
const typographyTheme = typographyThemes[themeName]
const typography = createTypographyStyles(typographyTheme)
const theme = merge({}, baseTheme, {
styles: typography.styles,
typography
})
const children = (
{props.children}
)
return (