diff --git a/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputProps.cpp b/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputProps.cpp index 5f25f17da9e..09d8e1506cb 100644 --- a/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputProps.cpp +++ b/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputProps.cpp @@ -283,7 +283,7 @@ folly::dynamic AndroidTextInputProps::getDynamic() const { #if RN_DEBUG_STRING_CONVERTIBLE // TODO: codegen these -SharedDebugStringConvertibleList TextProps::getDebugProps() const { +SharedDebugStringConvertibleList AndroidTextInputProps::getDebugProps() const { return {}; } #endif diff --git a/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputProps.h b/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputProps.h index deb9014fe8e..7fb58b0ddc0 100644 --- a/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputProps.h +++ b/ReactCommon/fabric/components/textinput/androidtextinput/AndroidTextInputProps.h @@ -158,6 +158,10 @@ class AndroidTextInputProps final : public ViewProps, public BaseTextProps { * paragraph. */ ParagraphAttributes const paragraphAttributes{}; + +#if RN_DEBUG_STRING_CONVERTIBLE + SharedDebugStringConvertibleList getDebugProps() const; +#endif }; } // namespace react