Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
/ react-json-logic Public archive

Build and evaluate JsonLogic with React components

Notifications You must be signed in to change notification settings

altaywtf/react-json-logic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Json Logic

NPM

Build and evaluate JsonLogic rules with React Components.

Installation

# Yarn
$ yarn add react-json-logic

# NPM
$ npm install react-json-logic --save

Usage

There is a basic example on examples folder, which is also live here.

Prop Type Default Value Description
onChange* func - Onchange event, returns the latest structure of built json logic.
value object { } Initial value of the json logic expresison.
data object { } Data available for accessor fields.

Contribution

This project has initialized from react-component-starter, which contains detailed documentation about installation, development and build flow of the package.