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 => {
const [ theme, setTheme ] = useReducer(reducer, {...presets.base})
const context = {
theme,
setTheme,
}
const json = stringify(context.theme, {
indent: ' '
})
return (
<div>
Create a Custom Theme
</div>