From ec0b86011fb6481bff46a418131c07e61d04b557 Mon Sep 17 00:00:00 2001 From: kritijain2269 <48357736+kritijain2269@users.noreply.github.com> Date: Mon, 27 Jul 2020 23:25:19 +0100 Subject: [PATCH] Update README.md Changed the type of 'checkModel' from bool -> string --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 018033db..3f0623d0 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' | Property | Type | Description | Default | | -------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------- | ----------- | | `nodes` | array | **Required**. Specifies the tree nodes and their children. | | -| `checkModel` | bool | Specifies which checked nodes should be stored in the `checked` array. Accepts `'leaf'` or `'all'`. | `'leaf'` | +| `checkModel` | string | Specifies which checked nodes should be stored in the `checked` array. Accepts `'leaf'` or `'all'`. | `'leaf'` | | `checked` | array | An array of checked node values. | `[]` | | `disabled` | bool | If true, the component will be disabled and nodes cannot be checked. | `false` | | `expandDisabled` | bool | If true, the ability to expand nodes will be disabled. | `false` |