Skip to content

Commit

Permalink
docs: minimal readme
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileRolley committed Jun 20, 2024
1 parent 0107ebc commit 17bd376
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
27 changes: 25 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
# rjsf-dsfr
# React JSON Schema Form with the DSFR

react-jsonschema-form for the DSFR
This is a wrapper around the
[react-jsonschema-form](https://rjsf-team.github.io/react-jsonschema-form/docs/)
with the components from
[`react-dsfr`](https://github.com/codegouvfr/react-dsfr).

> [!IMPORTANT]
> For now, this is simply extracted code from
> [`catala-dsfr`](https://github.com/CatalaLang/catala-dsfr).
> Therefore, the API is not yet defined and and is likely to be not flexible
> enough for your use case.
>
> If you want to use this library, please [open an
> issue](https://github.com/codegouvfr/rjsf-dsfr/issues) to discuss your needs!
## Installation

```bash
yarn add @codegouvfr/rjsf-dsfr
```

## Usage

For now, the API matches the one from `react-jsonschema-form` and you can
overrides some widgets (resp. templates) by specifying them in the props.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@codegouvfr/rjsf-dsfr",
"version": "0.1.0",
"description": "react-jsonschema-form for the DSFR",
"description": "react-jsonschema-form with the DSFR",
"repository": "[email protected]:codegouvfr/rjsf-dsfr.git",
"author": "Emile Rolley <[email protected]>",
"keywords": [
Expand Down

0 comments on commit 17bd376

Please sign in to comment.