about summary refs log tree commit diff
path: root/modules/react-native-ui-text-view/ios/RNUITextViewManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'modules/react-native-ui-text-view/ios/RNUITextViewManager.m')
-rw-r--r--modules/react-native-ui-text-view/ios/RNUITextViewManager.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/react-native-ui-text-view/ios/RNUITextViewManager.m b/modules/react-native-ui-text-view/ios/RNUITextViewManager.m
index 9a6f0285c..32dfb3b28 100644
--- a/modules/react-native-ui-text-view/ios/RNUITextViewManager.m
+++ b/modules/react-native-ui-text-view/ios/RNUITextViewManager.m
@@ -4,6 +4,7 @@
 RCT_REMAP_SHADOW_PROPERTY(numberOfLines, numberOfLines, NSInteger)
 RCT_REMAP_SHADOW_PROPERTY(allowsFontScaling, allowsFontScaling, BOOL)
 
+RCT_EXPORT_VIEW_PROPERTY(numberOfLines, NSInteger)
 RCT_EXPORT_VIEW_PROPERTY(onTextLayout, RCTDirectEventBlock)
 RCT_EXPORT_VIEW_PROPERTY(ellipsizeMode, NSString)
 RCT_EXPORT_VIEW_PROPERTY(selectable, BOOL)