mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
34d88bc597
Summary: This PR solves part of this issue: https://github.com/facebook/react-native/issues/24875 ## Changelog [General] [Added] - TM Spec for DatePickerAndroid Pull Request resolved: https://github.com/facebook/react-native/pull/24916 Reviewed By: RSNara Differential Revision: D15425864 Pulled By: fkgozali fbshipit-source-id: 964412d9d8daedfe265cf277f9fe5896856e47f8
21 lines
503 B
JavaScript
21 lines
503 B
JavaScript
/**
|
|
* 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.
|
|
*
|
|
* @flow
|
|
* @format
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
import type {TurboModule} from 'RCTExport';
|
|
import * as TurboModuleRegistry from 'TurboModuleRegistry';
|
|
|
|
export interface Spec extends TurboModule {
|
|
+open: (options: Object) => Promise<Object>;
|
|
}
|
|
|
|
export default TurboModuleRegistry.getEnforcing<Spec>('DatePickerAndroid');
|