@bsky.app/react-native-uitextview 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +188 -0
  3. package/android/generated/android/app/build/generated/source/codegen/jni/CMakeLists.txt +28 -0
  4. package/android/generated/android/app/build/generated/source/codegen/jni/RNUITextViewSpec-generated.cpp +22 -0
  5. package/android/generated/android/app/build/generated/source/codegen/jni/RNUITextViewSpec.h +24 -0
  6. package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/RNUITextViewSpec/ComponentDescriptors.cpp +23 -0
  7. package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/RNUITextViewSpec/ComponentDescriptors.h +25 -0
  8. package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/RNUITextViewSpec/EventEmitters.cpp +61 -0
  9. package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/RNUITextViewSpec/EventEmitters.h +49 -0
  10. package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/RNUITextViewSpec/Props.cpp +151 -0
  11. package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/RNUITextViewSpec/Props.h +236 -0
  12. package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/RNUITextViewSpec/RNUITextViewSpecJSI.h +19 -0
  13. package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/RNUITextViewSpec/ShadowNodes.cpp +18 -0
  14. package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/RNUITextViewSpec/ShadowNodes.h +43 -0
  15. package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/RNUITextViewSpec/States.cpp +16 -0
  16. package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/RNUITextViewSpec/States.h +22 -0
  17. package/ios/RNUITextView.h +13 -0
  18. package/ios/RNUITextView.mm +338 -0
  19. package/ios/RNUITextViewChild.h +24 -0
  20. package/ios/RNUITextViewChild.mm +72 -0
  21. package/ios/RNUITextViewChildComponentDescriptor.h +13 -0
  22. package/ios/RNUITextViewChildShadowNode.cpp +6 -0
  23. package/ios/RNUITextViewChildShadowNode.h +16 -0
  24. package/ios/RNUITextViewComponentDescriptor.h +13 -0
  25. package/ios/RNUITextViewManager.mm +36 -0
  26. package/ios/RNUITextViewShadowNode.cpp +139 -0
  27. package/ios/RNUITextViewShadowNode.h +48 -0
  28. package/ios/generated/build/generated/ios/ReactCodegen/RNUITextViewSpec/RNUITextViewSpec-generated.mm +16 -0
  29. package/ios/generated/build/generated/ios/ReactCodegen/RNUITextViewSpec/RNUITextViewSpec.h +38 -0
  30. package/ios/generated/build/generated/ios/ReactCodegen/RNUITextViewSpecJSI.h +19 -0
  31. package/ios/generated/build/generated/ios/ReactCodegen/react/renderer/components/RNUITextViewSpec/ComponentDescriptors.cpp +23 -0
  32. package/ios/generated/build/generated/ios/ReactCodegen/react/renderer/components/RNUITextViewSpec/ComponentDescriptors.h +25 -0
  33. package/ios/generated/build/generated/ios/ReactCodegen/react/renderer/components/RNUITextViewSpec/EventEmitters.cpp +61 -0
  34. package/ios/generated/build/generated/ios/ReactCodegen/react/renderer/components/RNUITextViewSpec/EventEmitters.h +49 -0
  35. package/ios/generated/build/generated/ios/ReactCodegen/react/renderer/components/RNUITextViewSpec/Props.cpp +151 -0
  36. package/ios/generated/build/generated/ios/ReactCodegen/react/renderer/components/RNUITextViewSpec/Props.h +236 -0
  37. package/ios/generated/build/generated/ios/ReactCodegen/react/renderer/components/RNUITextViewSpec/RCTComponentViewHelpers.h +24 -0
  38. package/ios/generated/build/generated/ios/ReactCodegen/react/renderer/components/RNUITextViewSpec/ShadowNodes.cpp +18 -0
  39. package/ios/generated/build/generated/ios/ReactCodegen/react/renderer/components/RNUITextViewSpec/ShadowNodes.h +43 -0
  40. package/ios/generated/build/generated/ios/ReactCodegen/react/renderer/components/RNUITextViewSpec/States.cpp +16 -0
  41. package/ios/generated/build/generated/ios/ReactCodegen/react/renderer/components/RNUITextViewSpec/States.h +22 -0
  42. package/lib/commonjs/RNUITextViewChildNativeComponent.ts +49 -0
  43. package/lib/commonjs/RNUITextViewNativeComponent.ts +53 -0
  44. package/lib/commonjs/Text.js +111 -0
  45. package/lib/commonjs/Text.js.map +1 -0
  46. package/lib/commonjs/Text.web.js +23 -0
  47. package/lib/commonjs/Text.web.js.map +1 -0
  48. package/lib/commonjs/index.js +17 -0
  49. package/lib/commonjs/index.js.map +1 -0
  50. package/lib/commonjs/package.json +1 -0
  51. package/lib/commonjs/util.js +66 -0
  52. package/lib/commonjs/util.js.map +1 -0
  53. package/lib/module/RNUITextViewChildNativeComponent.ts +49 -0
  54. package/lib/module/RNUITextViewNativeComponent.ts +53 -0
  55. package/lib/module/Text.js +106 -0
  56. package/lib/module/Text.js.map +1 -0
  57. package/lib/module/Text.web.js +19 -0
  58. package/lib/module/Text.web.js.map +1 -0
  59. package/lib/module/index.js +4 -0
  60. package/lib/module/index.js.map +1 -0
  61. package/lib/module/package.json +1 -0
  62. package/lib/module/util.js +62 -0
  63. package/lib/module/util.js.map +1 -0
  64. package/lib/typescript/commonjs/example/src/App.d.ts +3 -0
  65. package/lib/typescript/commonjs/example/src/App.d.ts.map +1 -0
  66. package/lib/typescript/commonjs/package.json +1 -0
  67. package/lib/typescript/commonjs/src/RNUITextViewChildNativeComponent.d.ts +29 -0
  68. package/lib/typescript/commonjs/src/RNUITextViewChildNativeComponent.d.ts.map +1 -0
  69. package/lib/typescript/commonjs/src/RNUITextViewNativeComponent.d.ts +43 -0
  70. package/lib/typescript/commonjs/src/RNUITextViewNativeComponent.d.ts.map +1 -0
  71. package/lib/typescript/commonjs/src/Text.d.ts +25 -0
  72. package/lib/typescript/commonjs/src/Text.d.ts.map +1 -0
  73. package/lib/typescript/commonjs/src/Text.web.d.ts +19 -0
  74. package/lib/typescript/commonjs/src/Text.web.d.ts.map +1 -0
  75. package/lib/typescript/commonjs/src/index.d.ts +2 -0
  76. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  77. package/lib/typescript/commonjs/src/util.d.ts +163 -0
  78. package/lib/typescript/commonjs/src/util.d.ts.map +1 -0
  79. package/lib/typescript/module/example/src/App.d.ts +3 -0
  80. package/lib/typescript/module/example/src/App.d.ts.map +1 -0
  81. package/lib/typescript/module/package.json +1 -0
  82. package/lib/typescript/module/src/RNUITextViewChildNativeComponent.d.ts +29 -0
  83. package/lib/typescript/module/src/RNUITextViewChildNativeComponent.d.ts.map +1 -0
  84. package/lib/typescript/module/src/RNUITextViewNativeComponent.d.ts +43 -0
  85. package/lib/typescript/module/src/RNUITextViewNativeComponent.d.ts.map +1 -0
  86. package/lib/typescript/module/src/Text.d.ts +25 -0
  87. package/lib/typescript/module/src/Text.d.ts.map +1 -0
  88. package/lib/typescript/module/src/Text.web.d.ts +19 -0
  89. package/lib/typescript/module/src/Text.web.d.ts.map +1 -0
  90. package/lib/typescript/module/src/index.d.ts +2 -0
  91. package/lib/typescript/module/src/index.d.ts.map +1 -0
  92. package/lib/typescript/module/src/util.d.ts +163 -0
  93. package/lib/typescript/module/src/util.d.ts.map +1 -0
  94. package/package.json +185 -0
  95. package/react-native-uitextview.podspec +34 -0
  96. package/react-native.config.js +28 -0
  97. package/scripts/ensure-rnc-cli-executable.js +19 -0
  98. package/src/RNUITextViewChildNativeComponent.ts +49 -0
  99. package/src/RNUITextViewNativeComponent.ts +53 -0
  100. package/src/Text.tsx +125 -0
  101. package/src/Text.web.tsx +22 -0
  102. package/src/index.tsx +1 -0
  103. package/src/util.ts +67 -0
@@ -0,0 +1,236 @@
1
+
2
+ /**
3
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
+ *
5
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
6
+ * once the code is regenerated.
7
+ *
8
+ * @generated by codegen project: GeneratePropsH.js
9
+ */
10
+ #pragma once
11
+
12
+ #include <react/renderer/components/view/ViewProps.h>
13
+ #include <react/renderer/core/PropsParserContext.h>
14
+ #include <react/renderer/debug/DebugStringConvertible.h>
15
+ #include <react/renderer/graphics/Color.h>
16
+
17
+ namespace facebook::react {
18
+
19
+ enum class RNUITextViewChildFontStyle { Normal, Italic };
20
+
21
+ static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, RNUITextViewChildFontStyle &result) {
22
+ auto string = (std::string)value;
23
+ if (string == "normal") { result = RNUITextViewChildFontStyle::Normal; return; }
24
+ if (string == "italic") { result = RNUITextViewChildFontStyle::Italic; return; }
25
+ abort();
26
+ }
27
+
28
+ static inline std::string toString(const RNUITextViewChildFontStyle &value) {
29
+ switch (value) {
30
+ case RNUITextViewChildFontStyle::Normal: return "normal";
31
+ case RNUITextViewChildFontStyle::Italic: return "italic";
32
+ default:
33
+ abort();
34
+ }
35
+ }
36
+
37
+ #ifdef RN_SERIALIZABLE_STATE
38
+ static inline folly::dynamic toDynamic(const RNUITextViewChildFontStyle &value) {
39
+ return toString(value);
40
+ }
41
+ #endif
42
+ enum class RNUITextViewChildFontWeight { Normal, Bold, UltraLight, Light, Medium, Semibold, Heavy };
43
+
44
+ static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, RNUITextViewChildFontWeight &result) {
45
+ auto string = (std::string)value;
46
+ if (string == "normal") { result = RNUITextViewChildFontWeight::Normal; return; }
47
+ if (string == "bold") { result = RNUITextViewChildFontWeight::Bold; return; }
48
+ if (string == "ultraLight") { result = RNUITextViewChildFontWeight::UltraLight; return; }
49
+ if (string == "light") { result = RNUITextViewChildFontWeight::Light; return; }
50
+ if (string == "medium") { result = RNUITextViewChildFontWeight::Medium; return; }
51
+ if (string == "semibold") { result = RNUITextViewChildFontWeight::Semibold; return; }
52
+ if (string == "heavy") { result = RNUITextViewChildFontWeight::Heavy; return; }
53
+ abort();
54
+ }
55
+
56
+ static inline std::string toString(const RNUITextViewChildFontWeight &value) {
57
+ switch (value) {
58
+ case RNUITextViewChildFontWeight::Normal: return "normal";
59
+ case RNUITextViewChildFontWeight::Bold: return "bold";
60
+ case RNUITextViewChildFontWeight::UltraLight: return "ultraLight";
61
+ case RNUITextViewChildFontWeight::Light: return "light";
62
+ case RNUITextViewChildFontWeight::Medium: return "medium";
63
+ case RNUITextViewChildFontWeight::Semibold: return "semibold";
64
+ case RNUITextViewChildFontWeight::Heavy: return "heavy";
65
+ default:
66
+ abort();
67
+ }
68
+ }
69
+
70
+ #ifdef RN_SERIALIZABLE_STATE
71
+ static inline folly::dynamic toDynamic(const RNUITextViewChildFontWeight &value) {
72
+ return toString(value);
73
+ }
74
+ #endif
75
+ enum class RNUITextViewChildTextDecorationLine { None, Underline, LineThrough };
76
+
77
+ static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, RNUITextViewChildTextDecorationLine &result) {
78
+ auto string = (std::string)value;
79
+ if (string == "none") { result = RNUITextViewChildTextDecorationLine::None; return; }
80
+ if (string == "underline") { result = RNUITextViewChildTextDecorationLine::Underline; return; }
81
+ if (string == "line-through") { result = RNUITextViewChildTextDecorationLine::LineThrough; return; }
82
+ abort();
83
+ }
84
+
85
+ static inline std::string toString(const RNUITextViewChildTextDecorationLine &value) {
86
+ switch (value) {
87
+ case RNUITextViewChildTextDecorationLine::None: return "none";
88
+ case RNUITextViewChildTextDecorationLine::Underline: return "underline";
89
+ case RNUITextViewChildTextDecorationLine::LineThrough: return "line-through";
90
+ default:
91
+ abort();
92
+ }
93
+ }
94
+
95
+ #ifdef RN_SERIALIZABLE_STATE
96
+ static inline folly::dynamic toDynamic(const RNUITextViewChildTextDecorationLine &value) {
97
+ return toString(value);
98
+ }
99
+ #endif
100
+ enum class RNUITextViewChildTextDecorationStyle { Solid, Double, Dotted, Dashed };
101
+
102
+ static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, RNUITextViewChildTextDecorationStyle &result) {
103
+ auto string = (std::string)value;
104
+ if (string == "solid") { result = RNUITextViewChildTextDecorationStyle::Solid; return; }
105
+ if (string == "double") { result = RNUITextViewChildTextDecorationStyle::Double; return; }
106
+ if (string == "dotted") { result = RNUITextViewChildTextDecorationStyle::Dotted; return; }
107
+ if (string == "dashed") { result = RNUITextViewChildTextDecorationStyle::Dashed; return; }
108
+ abort();
109
+ }
110
+
111
+ static inline std::string toString(const RNUITextViewChildTextDecorationStyle &value) {
112
+ switch (value) {
113
+ case RNUITextViewChildTextDecorationStyle::Solid: return "solid";
114
+ case RNUITextViewChildTextDecorationStyle::Double: return "double";
115
+ case RNUITextViewChildTextDecorationStyle::Dotted: return "dotted";
116
+ case RNUITextViewChildTextDecorationStyle::Dashed: return "dashed";
117
+ default:
118
+ abort();
119
+ }
120
+ }
121
+
122
+ #ifdef RN_SERIALIZABLE_STATE
123
+ static inline folly::dynamic toDynamic(const RNUITextViewChildTextDecorationStyle &value) {
124
+ return toString(value);
125
+ }
126
+ #endif
127
+ enum class RNUITextViewChildTextAlign { Auto, Left, Right, Center, Justify };
128
+
129
+ static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, RNUITextViewChildTextAlign &result) {
130
+ auto string = (std::string)value;
131
+ if (string == "auto") { result = RNUITextViewChildTextAlign::Auto; return; }
132
+ if (string == "left") { result = RNUITextViewChildTextAlign::Left; return; }
133
+ if (string == "right") { result = RNUITextViewChildTextAlign::Right; return; }
134
+ if (string == "center") { result = RNUITextViewChildTextAlign::Center; return; }
135
+ if (string == "justify") { result = RNUITextViewChildTextAlign::Justify; return; }
136
+ abort();
137
+ }
138
+
139
+ static inline std::string toString(const RNUITextViewChildTextAlign &value) {
140
+ switch (value) {
141
+ case RNUITextViewChildTextAlign::Auto: return "auto";
142
+ case RNUITextViewChildTextAlign::Left: return "left";
143
+ case RNUITextViewChildTextAlign::Right: return "right";
144
+ case RNUITextViewChildTextAlign::Center: return "center";
145
+ case RNUITextViewChildTextAlign::Justify: return "justify";
146
+ default:
147
+ abort();
148
+ }
149
+ }
150
+
151
+ #ifdef RN_SERIALIZABLE_STATE
152
+ static inline folly::dynamic toDynamic(const RNUITextViewChildTextAlign &value) {
153
+ return toString(value);
154
+ }
155
+ #endif
156
+
157
+ class RNUITextViewChildProps final : public ViewProps {
158
+ public:
159
+ RNUITextViewChildProps() = default;
160
+ RNUITextViewChildProps(const PropsParserContext& context, const RNUITextViewChildProps &sourceProps, const RawProps &rawProps);
161
+
162
+ #pragma mark - Props
163
+
164
+ std::string text{};
165
+ SharedColor color{};
166
+ Float fontSize{0.0};
167
+ RNUITextViewChildFontStyle fontStyle{RNUITextViewChildFontStyle::Normal};
168
+ RNUITextViewChildFontWeight fontWeight{RNUITextViewChildFontWeight::Normal};
169
+ std::string fontFamily{};
170
+ Float letterSpacing{0.0};
171
+ Float lineHeight{0.0};
172
+ RNUITextViewChildTextDecorationLine textDecorationLine{RNUITextViewChildTextDecorationLine::None};
173
+ RNUITextViewChildTextDecorationStyle textDecorationStyle{RNUITextViewChildTextDecorationStyle::Solid};
174
+ SharedColor textDecorationColor{};
175
+ RNUITextViewChildTextAlign textAlign{RNUITextViewChildTextAlign::Auto};
176
+ Float shadowRadius{0.0};
177
+
178
+ #ifdef RN_SERIALIZABLE_STATE
179
+ ComponentName getDiffPropsImplementationTarget() const override;
180
+
181
+ folly::dynamic getDiffProps(const Props* prevProps) const override;
182
+ #endif
183
+
184
+
185
+ };
186
+
187
+ enum class RNUITextViewEllipsizeMode { Head, Middle, Tail, Clip };
188
+
189
+ static inline void fromRawValue(const PropsParserContext& context, const RawValue &value, RNUITextViewEllipsizeMode &result) {
190
+ auto string = (std::string)value;
191
+ if (string == "head") { result = RNUITextViewEllipsizeMode::Head; return; }
192
+ if (string == "middle") { result = RNUITextViewEllipsizeMode::Middle; return; }
193
+ if (string == "tail") { result = RNUITextViewEllipsizeMode::Tail; return; }
194
+ if (string == "clip") { result = RNUITextViewEllipsizeMode::Clip; return; }
195
+ abort();
196
+ }
197
+
198
+ static inline std::string toString(const RNUITextViewEllipsizeMode &value) {
199
+ switch (value) {
200
+ case RNUITextViewEllipsizeMode::Head: return "head";
201
+ case RNUITextViewEllipsizeMode::Middle: return "middle";
202
+ case RNUITextViewEllipsizeMode::Tail: return "tail";
203
+ case RNUITextViewEllipsizeMode::Clip: return "clip";
204
+ default:
205
+ abort();
206
+ }
207
+ }
208
+
209
+ #ifdef RN_SERIALIZABLE_STATE
210
+ static inline folly::dynamic toDynamic(const RNUITextViewEllipsizeMode &value) {
211
+ return toString(value);
212
+ }
213
+ #endif
214
+
215
+ class RNUITextViewProps final : public ViewProps {
216
+ public:
217
+ RNUITextViewProps() = default;
218
+ RNUITextViewProps(const PropsParserContext& context, const RNUITextViewProps &sourceProps, const RawProps &rawProps);
219
+
220
+ #pragma mark - Props
221
+
222
+ int numberOfLines{0};
223
+ bool allowFontScaling{true};
224
+ RNUITextViewEllipsizeMode ellipsizeMode{RNUITextViewEllipsizeMode::Tail};
225
+ bool selectable{false};
226
+
227
+ #ifdef RN_SERIALIZABLE_STATE
228
+ ComponentName getDiffPropsImplementationTarget() const override;
229
+
230
+ folly::dynamic getDiffProps(const Props* prevProps) const override;
231
+ #endif
232
+
233
+
234
+ };
235
+
236
+ } // namespace facebook::react
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
3
+ *
4
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
5
+ * once the code is regenerated.
6
+ *
7
+ * @generated by codegen project: GenerateModuleH.js
8
+ */
9
+
10
+ #pragma once
11
+
12
+ #include <ReactCommon/TurboModule.h>
13
+ #include <react/bridging/Bridging.h>
14
+
15
+ namespace facebook::react {
16
+
17
+
18
+
19
+ } // namespace facebook::react
@@ -0,0 +1,18 @@
1
+
2
+ /**
3
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
+ *
5
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
6
+ * once the code is regenerated.
7
+ *
8
+ * @generated by codegen project: GenerateShadowNodeCpp.js
9
+ */
10
+
11
+ #include <react/renderer/components/RNUITextViewSpec/ShadowNodes.h>
12
+
13
+ namespace facebook::react {
14
+
15
+ extern const char RNUITextViewChildComponentName[] = "RNUITextViewChild";
16
+ extern const char RNUITextViewComponentName[] = "RNUITextView";
17
+
18
+ } // namespace facebook::react
@@ -0,0 +1,43 @@
1
+
2
+ /**
3
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
+ *
5
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
6
+ * once the code is regenerated.
7
+ *
8
+ * @generated by codegen project: GenerateShadowNodeH.js
9
+ */
10
+
11
+ #pragma once
12
+
13
+ #include <react/renderer/components/RNUITextViewSpec/EventEmitters.h>
14
+ #include <react/renderer/components/RNUITextViewSpec/Props.h>
15
+ #include <react/renderer/components/RNUITextViewSpec/States.h>
16
+ #include <react/renderer/components/view/ConcreteViewShadowNode.h>
17
+ #include <jsi/jsi.h>
18
+
19
+ namespace facebook::react {
20
+
21
+ JSI_EXPORT extern const char RNUITextViewChildComponentName[];
22
+
23
+ /*
24
+ * `ShadowNode` for <RNUITextViewChild> component.
25
+ */
26
+ using RNUITextViewChildShadowNode = ConcreteViewShadowNode<
27
+ RNUITextViewChildComponentName,
28
+ RNUITextViewChildProps,
29
+ RNUITextViewChildEventEmitter,
30
+ RNUITextViewChildState>;
31
+
32
+ JSI_EXPORT extern const char RNUITextViewComponentName[];
33
+
34
+ /*
35
+ * `ShadowNode` for <RNUITextView> component.
36
+ */
37
+ using RNUITextViewShadowNode = ConcreteViewShadowNode<
38
+ RNUITextViewComponentName,
39
+ RNUITextViewProps,
40
+ RNUITextViewEventEmitter,
41
+ RNUITextViewState>;
42
+
43
+ } // namespace facebook::react
@@ -0,0 +1,16 @@
1
+
2
+ /**
3
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
+ *
5
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
6
+ * once the code is regenerated.
7
+ *
8
+ * @generated by codegen project: GenerateStateCpp.js
9
+ */
10
+ #include <react/renderer/components/RNUITextViewSpec/States.h>
11
+
12
+ namespace facebook::react {
13
+
14
+
15
+
16
+ } // namespace facebook::react
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
3
+ *
4
+ * Do not edit this file as changes may cause incorrect behavior and will be lost
5
+ * once the code is regenerated.
6
+ *
7
+ * @generated by codegen project: GenerateStateH.js
8
+ */
9
+ #pragma once
10
+
11
+ #include <react/renderer/core/StateData.h>
12
+ #ifdef RN_SERIALIZABLE_STATE
13
+ #include <folly/dynamic.h>
14
+ #endif
15
+
16
+ namespace facebook::react {
17
+
18
+ using RNUITextViewChildState = StateData;
19
+
20
+ using RNUITextViewState = StateData;
21
+
22
+ } // namespace facebook::react
@@ -0,0 +1,13 @@
1
+ #import <React/RCTViewComponentView.h>
2
+ #import <UIKit/UIKit.h>
3
+
4
+ #ifndef RNUITextViewNativeComponent_h
5
+ #define RNUITextViewNativeComponent_h
6
+
7
+ NS_ASSUME_NONNULL_BEGIN
8
+ @interface RNUITextView : RCTViewComponentView
9
+ @end
10
+
11
+ NS_ASSUME_NONNULL_END
12
+
13
+ #endif /* UitextviewViewNativeComponent_h */