Skip to content

Remove NavigatorIOS #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ app :: forall p. ReactClass {|p}
app = statelessComponent render
where
render _ = text_ "Hello World"

main :: Effect Unit
main = do
registerComponent "HelloWorld" app
Expand Down Expand Up @@ -212,7 +212,6 @@ The plan is to initially support a subset of the components fully, and provide u
|`Image` |[x]|
|`RefreshControl` | [x]|
|`Button` |[x]|
|`NavigatorIOS` |[x] *|
|`DrawerLayoutAndroid` |[x]|
|`ToolbarAndroid` |[x]|
|`Modal`|[x]|
Expand Down
17 changes: 0 additions & 17 deletions src/ReactNative/Components/NavigatorIOS.js

This file was deleted.

80 changes: 0 additions & 80 deletions src/ReactNative/Components/NavigatorIOS.purs

This file was deleted.

1 change: 0 additions & 1 deletion src/ReactNative/Unsafe/Components.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ exports.keyboardAvoidingViewClass = RN.KeyboardAvoidingView;
exports.listViewClass = RN.ListView;
exports.mapViewClass = RN.MapView;
exports.modalClass = RN.Modal;
exports.navigatorIOSClass = RN.NavigatorIOS;
exports.pickerClass = RN.Picker;
exports.pickerItemClass = RN.Picker.Item;
exports.progressBarAndroidClass = RN.ProgressBarAndroid;
Expand Down
6 changes: 0 additions & 6 deletions src/ReactNative/Unsafe/Components.purs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ module ReactNative.Unsafe.Components (
, pickerU
, pickerItemU
, sliderU
, navigatorIOSU
, textInputU
, datePickerIOSU
, keyboardAvoidingViewU
Expand Down Expand Up @@ -46,7 +45,6 @@ foreign import keyboardAvoidingViewClass :: forall props. ReactClass {|props
foreign import listViewClass :: forall props. ReactClass {|props}
foreign import mapViewClass :: forall props. ReactClass {|props}
foreign import modalClass :: forall props. ReactClass {|props}
foreign import navigatorIOSClass :: forall props. ReactClass {|props}
foreign import pickerClass :: forall props. ReactClass {|props}
foreign import pickerItemClass :: forall props. ReactClass {|props}
foreign import progressBarAndroidClass :: forall props. ReactClass {|props}
Expand Down Expand Up @@ -148,10 +146,6 @@ pickerItemU = unsafeCreateLeafElement pickerItemClass
sliderU :: forall props. {|props} -> ReactElement
sliderU = unsafeCreateLeafElement sliderClass

-- | Create a [NavigatorIOS](https://facebook.github.io/react-native/docs/navigatorios.html) component unsafely
navigatorIOSU :: forall props. {|props} -> ReactElement
navigatorIOSU = unsafeCreateLeafElement navigatorIOSClass

-- | Create a [TextInput](https://facebook.github.io/react-native/docs/textinput.html) component unsafely
textInputU :: forall props. {|props} -> ReactElement
textInputU = unsafeCreateLeafElement textInputClass
Expand Down