From be6878845662dfca6f08f4535c86edf7c8e63316 Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Tue, 17 Nov 2026 11:29:46 +0100 Subject: [PATCH] docs: add missing Android Text props for 0.89 --- docs/text.md | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/docs/text.md b/docs/text.md index 5e83d6e84c0..d46aade9bcf 100644 --- a/docs/text.md +++ b/docs/text.md @@ -449,6 +449,26 @@ Used to locate this view from native code. Has precedence over `nativeID` prop. --- +### `lineBreak`
Android
+ +Sets the strictness of line-breaking rules, including which characters can start or end a line in Chinese and Japanese text. Available on Android 13 (API level 33) and later, ignored on earlier Android versions. + +| Type | Default | +| ------------------------------------------------- | -------- | +| enum(`'auto'`, `'loose'`, `'normal'`, `'strict'`) | `'auto'` | + +--- + +### `lineBreakStrategyIOS`
iOS
+ +Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`. + +| Type | Default | +| ----------------------------------------------------------- | -------- | +| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` | + +--- + ### `maxFontSizeMultiplier` Specifies the largest possible scale a font can reach when `allowFontScaling` is enabled. Possible values: @@ -713,13 +733,13 @@ Set text break strategy on Android API Level 23+, possible values are `simple`, --- -### `lineBreakStrategyIOS`
iOS
+### `wordBreak`
Android
-Set line break strategy on iOS 14+. Possible values are `none`, `standard`, `hangul-word` and `push-out`. +Sets word-based line breaking. The `'auto-phrase'` value breaks Japanese text at phrase boundaries. It depends on the device locale and has no effect when that locale does not support phrase-based breaking. Available on Android 13 (API level 33) and later, ignored on earlier Android versions. -| Type | Default | -| ----------------------------------------------------------- | -------- | -| enum(`'none'`, `'standard'`, `'hangul-word'`, `'push-out'`) | `'none'` | +| Type | Default | +| --------------------------------- | ---------- | +| enum(`'normal'`, `'auto-phrase'`) | `'normal'` | ## Type Definitions