Skip to content

Commit 607c9e5

Browse files
committed
Slightly correct README property sorting
1 parent e65a9da commit 607c9e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,15 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
144144
| Property | Type | Description | Default |
145145
| -------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------- | ----------- |
146146
| `nodes` | array | **Required**. Specifies the tree nodes and their children. | |
147-
| `checked` | array | An array of checked node values. | `[]` |
148147
| `checkModel` | bool | Specifies which nodes should be stored in the `checked` array. Accepts `'leaf'` or `'all'`. | `'leaf'` |
148+
| `checked` | array | An array of checked node values. | `[]` |
149149
| `disabled` | bool | If true, the component will be disabled and nodes cannot be checked. | `false` |
150150
| `expandDisabled` | bool | If true, the ability to expand nodes will be disabled. | `false` |
151151
| `expandOnClick` | bool | If true, nodes will be expanded by clicking on labels. Requires a non-empty `onClick` function. | `false` |
152+
| `expanded` | array | An array of expanded node values. | `[]` |
152153
| `icons` | object | An object containing the mappings for the various icons and their components. See **Changing the Default Icons**. | `{ ... }` |
153154
| `iconsClass` | string | A string that specifies which icons class to utilize. Currently, `'fa4'` and `'fa5'` are supported. | `'fa4'` |
154155
| `id` | string | A string to be used for the HTML ID of the rendered tree and its nodes. | `null` |
155-
| `expanded` | array | An array of expanded node values. | `[]` |
156156
| `lang` | object | An object containing the language mappings for the various text elements. | `{ ... }` |
157157
| `name` | string | Optional name for the hidden `<input>` element. | `undefined` |
158158
| `nameAsArray` | bool | If true, the hidden `<input>` will encode its values as an array rather than a joined string. | `false` |

0 commit comments

Comments
 (0)