Files
react-native/ReactCommon/react/renderer/components/textinput/iostextinput/TextInputState.cpp
T
Samuel Susla 681ed402de Turning on clang tidy performance-*
Summary:
changelog: [internal]

Enable performance related clang tidy rules.

Reviewed By: javache

Differential Revision: D33350556

fbshipit-source-id: 486446ed0a1ac88af21b691ac6905b4f2359dafc
2022-01-05 05:53:13 -08:00

35 lines
750 B
C++

/*
* 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.
*/
#include "TextInputState.h"
namespace facebook {
namespace react {
#ifdef ANDROID
TextInputState::TextInputState(
TextInputState const &previousState,
folly::dynamic const &data){};
/*
* Empty implementation for Android because it doesn't use this class.
*/
folly::dynamic TextInputState::getDynamic() const {
return {};
};
/*
* Empty implementation for Android because it doesn't use this class.
*/
MapBuffer TextInputState::getMapBuffer() const {
return MapBufferBuilder::EMPTY();
};
#endif
} // namespace react
} // namespace facebook