openlaw-elements
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "openlaw-elements", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Dynamically render React form components from an OpenLaw template.", | ||
@@ -5,0 +5,0 @@ "author": "OpenLaw Team <opensource@openlaw.io>", |
@@ -5,4 +5,6 @@ # OpenLaw Elements | ||
Dynamically render React form components and sections from an OpenLaw template. | ||
Render React form components and sections from an OpenLaw template. This library provides a single component which decides what to render based on the OpenLaw data type and current values, and handles validation. Used internally across OpenLaw projects, it's great for getting a React app up and running quickly on the client with OpenLaw templates. | ||
You're welcome to be creative and roll your own set of components, or submit a feature request! | ||
## Install | ||
@@ -70,2 +72,11 @@ | ||
### Available Props | ||
You can check out our [OpenLaw Elements docs](https://docs.openlaw.io/openlaw-elements/) for more details. | ||
### OpenLaw library dependency | ||
As OpenLaw Elements depends on the [openlaw](https://www.npmjs.com/package/openlaw) package, we recommend always using the [latest](https://www.npmjs.com/package/openlaw/v/latest) version. | ||
### Using our default styles | ||
@@ -98,10 +109,2 @@ | ||
### Optional Parameters | ||
In addition to the required parameters, we offer support for additional parameters that will give you more flexibility to apply styles and render custom form sections. You can check out our [OpenLaw Elements docs](https://docs.openlaw.io/openlaw-elements/) for more details. | ||
### OpenLaw dependency | ||
As OpenLaw Elements depends on the [openlaw](https://www.npmjs.com/package/openlaw) package, we recommend always using the [latest](https://www.npmjs.com/package/openlaw/v/latest) version. | ||
## Running the example app | ||
@@ -108,0 +111,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1266239
162