mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fdb2bb76ec
Summary: Changelog: [internal] Extract componentNameByReactViewName to separate file so it can be used elsewhere. Reviewed By: shergin, mdvacca Differential Revision: D26946159 fbshipit-source-id: cf69df1f80f1c1938fc667f4666a5d3fec5a9658
22 lines
445 B
C++
22 lines
445 B
C++
/*
|
|
* 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.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
/**
|
|
* Provides mapping from old view name format to the new format.
|
|
*/
|
|
std::string componentNameByReactViewName(std::string viewName);
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|