Skip to content

Commit

Permalink
[RNMobile] Refactor Dark Mode HOC (WordPress#17552)
Browse files Browse the repository at this point in the history
* [RNMobile] Refactor the Dark Mode HOC to fix naming antipatterns

* Fix lint errors

* Add .native.js suffix to usePreferredColorScheme

* Update usage of theme props renamed to preferredColorScheme

* Update usage of theme props renamed to preferredColorScheme
  • Loading branch information
Tug authored and geriux committed Oct 3, 2019
1 parent b3c5a6f commit 40ee080
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 59 deletions.
1 change: 0 additions & 1 deletion packages/components/src/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ export { default as KeyboardAvoidingView } from './mobile/keyboard-avoiding-view
export { default as KeyboardAwareFlatList } from './mobile/keyboard-aware-flat-list';
export { default as Picker } from './mobile/picker';
export { default as ReadableContentView } from './mobile/readable-content-view';
export * from './mobile/dark-mode';
58 changes: 0 additions & 58 deletions packages/components/src/mobile/dark-mode/index.native.js

This file was deleted.

0 comments on commit 40ee080

Please sign in to comment.