react-logic

Yet another React component for JsonLogic.

Usage no npm install needed!

<script type="module">
  import reactLogic from 'https://cdn.skypack.dev/react-logic';
</script>

README

react-logic Build Status npm version Coverage Status

Yet another React component for JsonLogic.

Demo

Installation

$ npm install --save react-logic

Props

onChange

Type: Function Default: () => {}

Callback when json rules change.

License

MIT