mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a55ae3a3f0
Summary: This diff implements the Turbo Module SoundManager, this will be used by following diffs of the stack Reviewed By: JoshuaGross Differential Revision: D16543430 fbshipit-source-id: 34ba545f54b759fe4e49d4e3c5f8867205de907c
21 lines
424 B
JavaScript
21 lines
424 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.
|
|
*
|
|
* @format
|
|
* @flow
|
|
*/
|
|
|
|
'use strict';
|
|
import NativeSoundManager from './NativeSoundManager';
|
|
|
|
const SoundManager = {
|
|
playTouchSound: function(): void {
|
|
NativeSoundManager.playTouchSound();
|
|
},
|
|
};
|
|
|
|
module.exports = SoundManager;
|