mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c44d4f9ef6
Summary: part of #24875. ## Changelog [General] [Added] - add TM spec for RedBox Pull Request resolved: https://github.com/facebook/react-native/pull/24922 Reviewed By: RSNara Differential Revision: D15423532 Pulled By: fkgozali fbshipit-source-id: 3c30e5b32a29628caf0bb9286c0628597ac64fb7
22 lines
526 B
JavaScript
22 lines
526 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 {
|
|
+setExtraData: (extraData: Object, identifier: string) => void;
|
|
+dismiss: () => void;
|
|
}
|
|
|
|
export default TurboModuleRegistry.get<Spec>('RedBox');
|