6.0.0-gamma9.0 • Published 7 months ago

@lonli-lokli/dynamic-forms-mui v6.0.0-gamma9.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

Build Status npm npm downloads Contributors Apache 2.0 License

Table of Contents

About The Project

@lonli-lokli/dynamic-forms-mui Screen Shot

Exports MUI version 5 theme, fields, and widgets for react-jsonschema-form.

Built With

Getting Started

Prerequisites

NOTE: Material UI 5 requires React 17, so you will need to upgrade

  • @mui/material
  • @mui/icons-material
  • @emotion/react
  • @emotion/styled
  • @lonli-lokli/dynamic-forms-core >= 5.0.0
  • @lonli-lokli/dynamic-forms-utils >= 5.0.0
  • @lonli-lokli/dynamic-forms-validator-ajv8 >= 5.0.0
yarn add @mui/material @mui/icons-material @emotion/react @emotion/styled @lonli-lokli/dynamic-forms-core @lonli-lokli/dynamic-forms-utils @lonli-lokli/dynamic-forms-validator-ajv8

Installation

yarn add @lonli-lokli/dynamic-forms-mui

Usage

Material UI version 5

import Form from '@lonli-lokli/dynamic-forms-mui';

or

import { withTheme } from '@lonli-lokli/dynamic-forms-core';
import { Theme } from '@lonli-lokli/dynamic-forms-mui';

// Make modifications to the theme with your own fields and widgets

const Form = withTheme(Theme);

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Read our contributors' guide to get started.

Contact

rjsf team: https://github.com/orgs/rjsf-team/people

GitHub repository: https://github.com/rjsf-team/react-jsonschema-form