Skip to content

Commit 3662d25

Browse files
committed
fixed #21
1 parent a7a0cb1 commit 3662d25

File tree

1 file changed

+41
-34
lines changed

1 file changed

+41
-34
lines changed

src/Fable.Helpers.ReactNative.fs

Lines changed: 41 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,40 @@ module Props =
423423
type IViewPagerAndroidProperties =
424424
interface end
425425

426+
type IButtonProperties =
427+
interface end
428+
429+
type IImageProperties =
430+
interface end
431+
432+
type ITouchableHighlightProperties =
433+
interface end
434+
435+
type ITouchableOpacityProperties =
436+
interface end
437+
438+
type ITouchableNativeFeedbackProperties =
439+
interface end
440+
441+
type ITouchableWithoutFeedbackIOSProperties =
442+
interface end
443+
444+
type ITouchableWithoutFeedbackAndroidProperties =
445+
interface end
446+
447+
type ITouchableWithoutFeedbackProperties =
448+
inherit ITouchableWithoutFeedbackAndroidProperties
449+
inherit ITouchableWithoutFeedbackIOSProperties
450+
inherit ITouchableNativeFeedbackProperties
451+
inherit ITouchableOpacityProperties
452+
inherit ITouchableHighlightProperties
453+
454+
type ITextPropertiesIOS =
455+
interface end
456+
457+
type ITextProperties =
458+
inherit ITextPropertiesIOS
459+
426460
type IViewProperties =
427461
inherit IViewPropertiesAndroid
428462
inherit IViewPropertiesIOS
@@ -479,6 +513,13 @@ module Props =
479513
interface IViewPropertiesAndroid
480514
interface IViewPagerAndroidProperties
481515
interface ISectionListProperties<'a>
516+
interface IButtonProperties
517+
interface IImageProperties
518+
interface ITouchableHighlightProperties
519+
interface ITouchableWithoutFeedbackProperties
520+
interface ITouchableNativeFeedbackProperties
521+
interface ITouchableOpacityProperties
522+
interface ITextProperties
482523

483524
type WebViewPropertiesAndroid =
484525
| JavaScriptEnabled of bool
@@ -701,12 +742,6 @@ module Props =
701742
| TestID of string
702743
interface ITextStyle
703744

704-
type ITextPropertiesIOS =
705-
interface end
706-
707-
type ITextProperties =
708-
inherit ITextPropertiesIOS
709-
710745
type TextPropertiesIOS =
711746
| AllowFontScaling of bool // REQUIRED!
712747
| SuppressHighlighting of bool
@@ -1060,9 +1095,6 @@ module Props =
10601095
| Opacity of float
10611096
interface IImageStyle
10621097

1063-
type IImageProperties =
1064-
interface end
1065-
10661098
type ImagePropertiesIOS =
10671099
| AccessibilityLabel of string
10681100
| Accessible of bool
@@ -1156,9 +1188,6 @@ module Props =
11561188
| OnShow of (NativeSyntheticEvent<obj> -> unit)
11571189
| Ref of Ref<Modal>
11581190

1159-
type IButtonProperties =
1160-
interface end
1161-
11621191
type ButtonProperties =
11631192
| Title of string
11641193
| OnPress of (unit -> unit)
@@ -1169,28 +1198,6 @@ module Props =
11691198
| Ref of Ref<Button>
11701199
interface IButtonProperties
11711200

1172-
type ITouchableHighlightProperties =
1173-
interface end
1174-
1175-
type ITouchableOpacityProperties =
1176-
interface end
1177-
1178-
type ITouchableNativeFeedbackProperties =
1179-
interface end
1180-
1181-
type ITouchableWithoutFeedbackIOSProperties =
1182-
interface end
1183-
1184-
type ITouchableWithoutFeedbackAndroidProperties =
1185-
interface end
1186-
1187-
type ITouchableWithoutFeedbackProperties =
1188-
inherit ITouchableWithoutFeedbackAndroidProperties
1189-
inherit ITouchableWithoutFeedbackIOSProperties
1190-
inherit ITouchableNativeFeedbackProperties
1191-
inherit ITouchableOpacityProperties
1192-
inherit ITouchableHighlightProperties
1193-
11941201
type TouchableWithoutFeedbackAndroidProperties =
11951202
| AccessibilityComponentType of string
11961203
interface ITouchableWithoutFeedbackAndroidProperties

0 commit comments

Comments
 (0)