Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 756 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 756 Bytes

material-ui-json-schema-viewer

a viewer component that displays JSON schemas (built using material-ui)

Requirements

  • @material-ui/core v4+
  • react 16.8+
  • react-dom 16.8+

Theme Customization

By default, the schema viewer inherits material-ui's default theme. You can change the theme by customizing the theme passed to material-ui's ThemeProvider component. You may also use material-ui's CSSBaseline to provide a more consistent style baseline as well.

<CssBaseline />
<ThemeProvider theme={customTheme}>
    <SchemaTable />
</ThemeProvider>