Skip to content

Commit 740ab2d

Browse files
authored
Merge pull request #117 from JairajJangle/develop
docs: fixed broken readme header hyperlinks
2 parents 927447a + adf5fe5 commit 740ab2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export function TreeViewUsageExample(){
121121

122122
| Property | Type | Required | Description |
123123
| ---------------------------------- | ------------------------------------------------------------ | -------- | ------------------------------------------------------------ |
124-
| `data` | [TreeNode](#treenode)`<ID = string>[]` | Yes | An array of `TreeNode` objects |
124+
| `data` | [TreeNode](#treenodeid--string)`<ID = string>[]` | Yes | An array of `TreeNode` objects |
125125
| `onCheck` | `(checkedIds: ID[], indeterminateIds: ID[]) => void` | No | Callback when a checkbox state changes |
126126
| `onExpand` | `(expandedIds: ID[]) => void` | No | Callback when a node is expanded |
127127
| `preselectedIds` | `ID[]` | No | An array of `id`s that should be pre-selected |
@@ -134,7 +134,7 @@ export function TreeViewUsageExample(){
134134
| `CheckboxComponent` | `ComponentType<`[CheckBoxViewProps](#checkboxviewprops)`>` | No | A custom checkbox component. Defaults to React Native Paper's Checkbox |
135135
| `ExpandCollapseIconComponent` | `ComponentType<`[ExpandIconProps](#expandiconprops)`>` | No | A custom expand/collapse icon component |
136136
| `ExpandCollapseTouchableComponent` | `ComponentType<`[TouchableOpacityProps](https://reactnative.dev/docs/touchableopacity#props)`>` | No | A custom expand/collapse touchable component |
137-
| `CustomNodeRowComponent` | `React.ComponentType<`[NodeRowProps](#noderowprops)`<ID>>` | No | Custom row item component |
137+
| `CustomNodeRowComponent` | `React.ComponentType<`[NodeRowProps](#noderowpropsid--string)`<ID>>` | No | Custom row item component |
138138

139139
##### Notes
140140

@@ -257,7 +257,7 @@ Type: `boolean` OR `"indeterminate"`
257257

258258
| Property | Type | Required | Description |
259259
| -------------- | --------------------------------------- | -------- | ------------------------------------------------------- |
260-
| `node` | [TreeNode](#treenode) | Yes | The node to be rendered |
260+
| `node` | [TreeNode](#treenodeid--string) | Yes | The node to be rendered |
261261
| `level` | `number` | Yes | The depth of the node in the tree |
262262
| `checkedValue` | [CheckboxValueType](#checkboxvaluetype) | Yes | The current value of the checkbox |
263263
| `isExpanded` | `boolean` | Yes | Whether the node is expanded or not |

0 commit comments

Comments
 (0)