Skip to content

Commit 24f3452

Browse files
authored
fix: Break in Windows JS following #574 (#605)
* Fix Break in Windows * Fix Format * Fix Format * Add Type Info
1 parent 5386686 commit 24f3452

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/picker.windows.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
7+
* @format
8+
* @flow strict-local
9+
*/
10+
import {requireNativeComponent} from 'react-native';
11+
12+
export default (requireNativeComponent(
13+
'RNDateTimePickerWindows',
14+
// $FlowFixMe Flow: Unclear type. Using `any`, `Object`, or `Function` types is not safe!
15+
): any);

0 commit comments

Comments
 (0)