UNPKG

react-native

Version:

A framework for building native apps using React

21 lines (18 loc) 589 B
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict-local * @format */ import NativeReactDevToolsSettingsManager from '../specs/modules/NativeReactDevToolsSettingsManager'; module.exports = { setGlobalHookSettings(settings: string) { NativeReactDevToolsSettingsManager?.setGlobalHookSettings(settings); }, getGlobalHookSettings(): ?string { return NativeReactDevToolsSettingsManager?.getGlobalHookSettings(); }, };