fabric-react-jsonschema-form-upx

Fabric components for react-jsonschema-form

Usage no npm install needed!

<script type="module">
  import fabricReactJsonschemaFormUpx from 'https://cdn.skypack.dev/fabric-react-jsonschema-form-upx';
</script>

README

fabric-react-jsonschema-form

Plugin for react-jsonschema-form to use components in office-ui-fabric-react.

Some components are not yet or not fully supported.

Playground

Try it out in the playground.

Quick start

npm i -s fabric-react-jsonschema-form-upx to use this forked version

then...

import { allWidgets, fabricFields } from "fabric-react-jsonschema-form";
...
render() {
  return <Form
    schema={{ type: "string", title: "Hello world" }}
    widgets={allWidgets}
    {...fabricFields}
  </Form>
}

To publish package

npm build & npm pack to generate .tgz

npm publish to publish .tgz to the npm registry. If error occurs, try npm add user.