Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zxbodya committed Jul 25, 2023
1 parent ea1d982 commit 941365e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 59 deletions.
18 changes: 0 additions & 18 deletions packages/docs/docs/00-introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,6 @@ import Form from '@rjsf/core';

Our latest version requires React 16+. You can also install `react-jsonschema-form` (the 1.x version) which works with React 15+.

### As a script served from a CDN

```html
<script src="https://unpkg.com/@rjsf/core/dist/core.cjs.production.min.js"></script>
```

Source maps are available at [this url](https://unpkg.com/@rjsf/core/dist/core.cjs.production.min.js.map).

> Note: The CDN version **does not** embed `react` or `react-dom`. If you want other distributions (i.e. umd, esm), look [here](https://unpkg.com/@rjsf/core/dist/) for all releases
You'll also need to alias the default export property to use the Form component:

```ts
const Form = JSONSchemaForm.default;
// or
const { default: Form } = JSONSchemaForm;
```

## Usage

```tsx
Expand Down
41 changes: 0 additions & 41 deletions packages/docs/main.js

This file was deleted.

0 comments on commit 941365e

Please sign in to comment.