diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 0d4f42e..f05dd85 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,7 @@ +### 2.0.0-alpha-008 +- fixed refs; +- `SectionList` minor fixes. + ### 2.0.0-alpha-007 - fixed `FlatList` prop case conversion; - added `SectionList`. diff --git a/src/Fable.Helpers.ReactNative.fs b/src/Fable.Helpers.ReactNative.fs index ee7e390..d973636 100644 --- a/src/Fable.Helpers.ReactNative.fs +++ b/src/Fable.Helpers.ReactNative.fs @@ -478,6 +478,7 @@ module Props = interface IViewPropertiesIOS interface IViewPropertiesAndroid interface IViewPagerAndroidProperties + interface ISectionListProperties<'a> type WebViewPropertiesAndroid = | JavaScriptEnabled of bool @@ -524,7 +525,7 @@ module Props = | Source of U3 | MediaPlaybackRequiresUserAction of bool | ScalesPageToFit of bool - | Ref of Ref + | Ref of Ref interface IWebViewProperties type ImageURISourceProperties = @@ -719,6 +720,7 @@ module Props = | OnPress of (unit -> unit) | Style of IStyle list | TestID of string + | Ref of Ref interface ITextProperties type ITextInputIOSProperties = @@ -776,6 +778,7 @@ module Props = | Style of IStyle list | TestID of string | Value of string + | Ref of Ref interface ITextInputProperties module Toolbar = @@ -835,6 +838,7 @@ module Props = | RemoveClippedSubviews of bool | Style of IStyle list | TestID of string + | Ref of Ref interface IViewProperties type ViewPagerAndroidProperties = @@ -846,13 +850,13 @@ module Props = | KeyboardDismissMode of KeyboardDismissMode | PageMargin of float | Style of IStyle list - | Ref of Ref + | Ref of Ref interface IViewPagerAndroidProperties type KeyboardAvoidingViewProps = | Behavior of Behavior | KeyboardVerticalOffset of float // REQUIRED! - | Ref of Ref + | Ref of Ref interface IKeyboardAvoidingViewProps type SegmentedControlIOSProperties = @@ -876,6 +880,7 @@ module Props = | TitleTextColor of string | Translucent of bool | Style of IStyle list + | Ref of Ref module ActivityIndicator = type ActivityIndicatorProperties = @@ -921,7 +926,7 @@ module Props = | OnDrawerStateChanged of (ScrollState -> unit) | RenderNavigationView of (unit -> obj) | StatusBarBackgroundColor of obj - | Ref of Ref + | Ref of Ref interface IDrawerLayoutAndroidProperties module Picker = @@ -937,14 +942,12 @@ module Props = type PickerPropertiesIOS = | ItemStyle of IStyle list - | Ref of Ref interface IPickerProperties type PickerPropertiesAndroid = | Enabled of bool | Mode of Mode | Prompt of string - | Ref of Ref interface IPickerProperties type PickerProperties = @@ -957,6 +960,7 @@ module Props = type PickerIOSProperties = | ItemStyle of ViewStyle list + | Ref of Ref interface IPickerProperties module ProgressBar = @@ -985,7 +989,6 @@ module Props = | TintColor of string | Title of string | TitleColor of string - | Ref of Ref interface IRefreshControlProperties @@ -995,7 +998,6 @@ module Props = | ProgressBackgroundColor of string | Size of float | ProgressViewOffset of float - | Ref of Ref interface IRefreshControlProperties type RefreshControlProperties = @@ -1087,6 +1089,7 @@ module Props = | Source of IImageSource | Style of IStyle list | TestID of string + | Ref of Ref interface IImageProperties @@ -1141,7 +1144,7 @@ module Props = | ShowsUserLocation of bool | Style of IStyle list | ZoomEnabled of bool - | Ref of Ref + | Ref of Ref interface IMapViewProperties type ModalProperties = @@ -1151,6 +1154,7 @@ module Props = | Visible of bool | OnRequestClose of (unit -> unit) | OnShow of (NativeSyntheticEvent -> unit) + | Ref of Ref type IButtonProperties = interface end @@ -1162,6 +1166,7 @@ module Props = | Color of string | TestID of string | HasTVPreferredFocus of bool + | Ref of Ref