Back to React Jsonschema Form

README

packages/primereact/README.md

6.5.23.5 KB
Original Source

<p align="center"> <a href="https://github.com/rjsf-team/react-jsonschema-form"> </a> <h3 align="center">@rjsf/primereact</h3> <p align="center"> PrimeReact theme, fields, and widgets for <a href="https://github.com/rjsf-team/react-jsonschema-form/"><code>react-jsonschema-form</code></a>.
<a href="https://rjsf-team.github.io/react-jsonschema-form/docs/"><strong>Explore the docs »</strong></a>




<a href="https://rjsf-team.github.io/react-jsonschema-form/">View Playground</a>
·
<a href="https://github.com/rjsf-team/react-jsonschema-form/issues">Report Bug</a>
·
<a href="https://github.com/rjsf-team/react-jsonschema-form/issues">Request Feature</a>
</p> </p>

Table of Contents

About The Project

PrimeReact theme, fields, and widgets for react-jsonschema-form.

Built With

Getting Started

Prerequisites

  • primereact >= 8.0.0
  • primeicons >= 6.0.0
  • @rjsf/core >= 6
  • @rjsf/utils >= 6
  • @rjsf/validator-ajv8 >= 6
sh
npm install primereact primeicons @rjsf/core

Installation

sh
npm install @rjsf/primereact

Usage

javascript
import Form from '@rjsf/primereact';

or

javascript
import { withTheme } from '@rjsf/core';
import { Theme as PrimeReactTheme } from '@rjsf/primereact';

// Customize the theme with your own fields and widgets

const Form = withTheme(PrimeReactTheme);

Roadmap

See the general open 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