# `react-craft-ai-decision-tree`

[![Version](https://img.shields.io/npm/v/react-craft-ai-decision-tree.svg?style=flat-square)](https://npmjs.org/package/react-craft-ai-decision-tree) [![License](https://img.shields.io/badge/license-BSD--3--Clause-42358A.svg?style=flat-square)](https://github.com/craft-ai/react-craft-ai-components/blob/master/LICENSE)

## [Demo](http://www.craft.ai/react-craft-ai-components/react-craft-ai-decision-tree)

## Installation

### Node.js / Webpack

Using npm:

```console
$ npm install --save react-craft-ai-decision-tree
```

In your sources:

```es6
import DecisionTree from 'react-craft-ai-decision-tree';
```

### Plain Old Javascript

Thanks to [unpkg](https://unpkg.com/), you can include the pre-generated bundle in your html file, for the latest version use

```html
<script src="https://unpkg.com/react@15/dist/react.min.js"></script>
<script src="https://unpkg.com/react-dom@15/dist/react-dom.min.js"></script>
<script src="https://unpkg.com/react-craft-ai-decision-tree@0.MINOR_VERSION"></script>
```

> See this [example](https://codepen.io/cloderic/pen/GygQVa).

:warning: Make sure a specific version of `react-craft-ai-decision-tree` is used to avoid any retrocompatibility issue.

## Usage

:construction:
