Skip to content

Commit 06d99ba

Browse files
committed
Fixup bs-platform 8.2+ errors
1 parent 81c9cc2 commit 06d99ba

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/ReactNativePicker.re

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ external make:
1111
~selectedValue: 'a=?,
1212
~enabled: bool=?,
1313
// Android only
14-
~mode: [@bs.string] [ | `dialog | `dropdown]=?,
14+
~mode: [ | `dialog | `dropdown]=?,
1515
~prompt: string=?,
1616
// iOS only
1717
~itemStyle: ReactNative.Style.t=?,
1818
// View props 0.62.0
19-
~accessibilityComponentType: [@bs.string] [
19+
~accessibilityComponentType: [
2020
| `none
2121
| `button
2222
| `radiobutton_checked
@@ -27,8 +27,8 @@ external make:
2727
~accessibilityHint: string=?,
2828
~accessibilityIgnoresInvertColors: bool=?,
2929
~accessibilityLabel: string=?,
30-
~accessibilityLiveRegion: [@bs.string] [ | `none | `polite | `assertive]=?,
31-
~accessibilityRole: [@bs.string] [
30+
~accessibilityLiveRegion: [ | `none | `polite | `assertive]=?,
31+
~accessibilityRole: [
3232
| `none
3333
| `button
3434
| `link

src/ReactNativePickerIOS.re

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ external make:
1010
~selectedValue: 'a=?,
1111
~itemStyle: ReactNative.Style.t=?,
1212
// View props 0.62.0
13-
~accessibilityComponentType: [@bs.string] [
13+
~accessibilityComponentType: [
1414
| `none
1515
| `button
1616
| `radiobutton_checked
@@ -21,8 +21,8 @@ external make:
2121
~accessibilityHint: string=?,
2222
~accessibilityIgnoresInvertColors: bool=?,
2323
~accessibilityLabel: string=?,
24-
~accessibilityLiveRegion: [@bs.string] [ | `none | `polite | `assertive]=?,
25-
~accessibilityRole: [@bs.string] [
24+
~accessibilityLiveRegion: [ | `none | `polite | `assertive]=?,
25+
~accessibilityRole: [
2626
| `none
2727
| `button
2828
| `link

0 commit comments

Comments
 (0)