UnimplementedViewProps.cpp 553 B

12345678910111213141516171819202122
  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 <react/components/unimplementedview/UnimplementedViewProps.h>
  8. namespace facebook {
  9. namespace react {
  10. void UnimplementedViewProps::setComponentName(ComponentName componentName) {
  11. componentName_ = componentName;
  12. }
  13. ComponentName UnimplementedViewProps::getComponentName() const {
  14. return componentName_;
  15. }
  16. } // namespace react
  17. } // namespace facebook