Skip to content

Commit

Permalink
fix: Break in Windows JS following #574 (#605)
Browse files Browse the repository at this point in the history
* Fix Break in Windows

* Fix Format

* Fix Format

* Add Type Info
  • Loading branch information
chiaramooney authored Apr 29, 2022
1 parent 5386686 commit 24f3452
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/picker.windows.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow strict-local
*/
import {requireNativeComponent} from 'react-native';

export default (requireNativeComponent(
'RNDateTimePickerWindows',
// $FlowFixMe Flow: Unclear type. Using `any`, `Object`, or `Function` types is not safe!
): any);

0 comments on commit 24f3452

Please sign in to comment.