Text
React Native for web provides access to browser-only style properties. The following styles apply to any primitive that extends `TextViewStylePropTypes` like `<TextInput />`.
The API
textIndent
Type: number | string
Conversion
// CSS
- text-indent: 30px;
// React Native
+ textIndent: 30,textOverflow
Type: string | 'each-line' | 'hanging' | Array<T>
Conversion
textRendering
Type: 'auto' | 'geometricPrecision' | 'optimizeLegibility' | 'optimizeSpeed'
Conversion
unicodeBidi
Type: 'normal','bidi-override','embed','isolate','isolate-override','plaintext'
Conversion
whiteSpace
Type: string
Conversion
wordBreak
Type: 'normal', 'break-all', 'break-word', 'keep-all'
Conversion
wordWrap
Type: 'normal' | 'anywhere' | 'break-word'
Conversion
WebkitFontSmoothing
MozOsxFontSmoothing
Type: string
Conversion
Last updated