Skip to content

Commit 1910215

Browse files
committed
fix(#246): docs onValueChange for radio groups + missing space typo + onCheckedChange param name
1 parent b6ec0d2 commit 1910215

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

apps/docs/src/content/docs/components/context-menu.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Extends [`View`](https://reactnative.dev/docs/view#props) props
185185
| :----------: | :----------------------: | :----------: |
186186
| onOpenChange| (value: boolean) => void | |
187187
| asChild | boolean | _(optional)_ |
188-
| relativeTo | 'longPress' \| 'trigger' | Native Only_(optional)_ |
188+
| relativeTo | 'longPress' \| 'trigger' | Native Only _(optional)_ |
189189

190190
### ContextMenuTrigger
191191

@@ -265,10 +265,10 @@ Extends [`Pressable`](https://reactnative.dev/docs/pressable#props) props
265265
| Prop | Type | Note |
266266
| :----------: | :----------------------: | :---------------------: |
267267
| checked* | boolean | |
268-
|onCheckedChange*| (value: boolean) => void | |
268+
|onCheckedChange*| (checked: boolean) => void | |
269269
| textValue* | string | |
270270
| asChild | boolean | _(optional)_ |
271-
| closeOnPress | boolean | Native Only_(optional)_ |
271+
| closeOnPress | boolean | Native Only _(optional)_ |
272272

273273
### ContextMenuRadioGroup
274274

@@ -277,7 +277,7 @@ Extends [`View`](https://reactnative.dev/docs/view#props) props
277277
| Prop | Type | Note |
278278
| :----------: | :----------------------: | :---------------------: |
279279
| value* | boolean | |
280-
|onValueChange*| (value: boolean) => void | |
280+
|onValueChange*| (value: string) => void | |
281281
| asChild | boolean | _(optional)_ |
282282

283283
### ContextMenuRadioItem
@@ -289,7 +289,7 @@ Extends [`Pressable`](https://reactnative.dev/docs/pressable#props) props
289289
| value* | boolean | |
290290
|onCheckedChange*| (value: boolean) => void | |
291291
| asChild | boolean | _(optional)_ |
292-
| closeOnPress | boolean | Native Only_(optional)_ |
292+
| closeOnPress | boolean | Native Only _(optional)_ |
293293

294294
### ContextMenuSeparator
295295

apps/docs/src/content/docs/components/dropdown-menu.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Extends [`View`](https://reactnative.dev/docs/view#props) props
155155
| :----------: | :----------------------: | :----------: |
156156
| onOpenChange| (value: boolean) => void | |
157157
| asChild | boolean | _(optional)_ |
158-
| relativeTo | 'longPress' \| 'trigger' | Native Only_(optional)_ |
158+
| relativeTo | 'longPress' \| 'trigger' | Native Only _(optional)_ |
159159

160160
### DropdownMenuTrigger
161161

@@ -235,10 +235,10 @@ Extends [`Pressable`](https://reactnative.dev/docs/pressable#props) props
235235
| Prop | Type | Note |
236236
| :----------: | :----------------------: | :---------------------: |
237237
| checked* | boolean | |
238-
|onCheckedChange*| (value: boolean) => void | |
238+
|onCheckedChange*| (checked: boolean) => void | |
239239
| textValue* | string | |
240240
| asChild | boolean | _(optional)_ |
241-
| closeOnPress | boolean | Native Only_(optional)_ |
241+
| closeOnPress | boolean | Native Only _(optional)_ |
242242

243243
### DropdownMenuRadioGroup
244244

@@ -247,7 +247,7 @@ Extends [`View`](https://reactnative.dev/docs/view#props) props
247247
| Prop | Type | Note |
248248
| :----------: | :----------------------: | :---------------------: |
249249
| value* | boolean | |
250-
|onValueChange*| (value: boolean) => void | |
250+
|onValueChange*| (value: string) => void | |
251251
| asChild | boolean | _(optional)_ |
252252

253253
### DropdownMenuRadioItem
@@ -259,7 +259,7 @@ Extends [`Pressable`](https://reactnative.dev/docs/pressable#props) props
259259
| value* | boolean | |
260260
|onCheckedChange*| (value: boolean) => void | |
261261
| asChild | boolean | _(optional)_ |
262-
| closeOnPress | boolean | Native Only_(optional)_ |
262+
| closeOnPress | boolean | Native Only _(optional)_ |
263263

264264
### DropdownMenuSeparator
265265

apps/docs/src/content/docs/components/hover-card.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Extends [`View`](https://reactnative.dev/docs/view#props) props
118118
| :----------: | :----------------------: | :----------: |
119119
| onOpenChange| (value: boolean) => void | |
120120
| asChild | boolean | _(optional)_ |
121-
| relativeTo | 'longPress' \| 'trigger' | Native Only_(optional)_ |
121+
| relativeTo | 'longPress' \| 'trigger' | Native Only _(optional)_ |
122122

123123
### HoverCardTrigger
124124

apps/docs/src/content/docs/components/menubar.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ Extends [`Pressable`](https://reactnative.dev/docs/pressable#props) props
397397
|onCheckedChange*| (value: boolean) => void | |
398398
| textValue* | string | |
399399
| asChild | boolean | _(optional)_ |
400-
| closeOnPress | boolean | Native Only_(optional)_ |
400+
| closeOnPress | boolean | Native Only _(optional)_ |
401401

402402
### MenubarRadioGroup
403403

@@ -418,7 +418,7 @@ Extends [`Pressable`](https://reactnative.dev/docs/pressable#props) props
418418
| value* | boolean | |
419419
|onCheckedChange*| (value: boolean) => void | |
420420
| asChild | boolean | _(optional)_ |
421-
| closeOnPress | boolean | Native Only_(optional)_ |
421+
| closeOnPress | boolean | Native Only _(optional)_ |
422422

423423
### MenubarSeparator
424424

0 commit comments

Comments
 (0)