LegacyViewManagerInteropViewEventEmitter.cpp 531 B

1234567891011121314151617181920
  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. #include "LegacyViewManagerInteropViewEventEmitter.h"
  8. #include <iostream>
  9. namespace facebook {
  10. namespace react {
  11. void LegacyViewManagerInteropViewEventEmitter::dispatchEvent(
  12. std::string const &type,
  13. folly::dynamic const &payload) const {
  14. EventEmitter::dispatchEvent(type, payload);
  15. }
  16. } // namespace react
  17. } // namespace facebook