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
Type: number | string
number | stringConversion
// CSS
- text-indent: 30px;
// React Native
+ textIndent: 30,Type: string | 'each-line' | 'hanging' | Array<T>
string | 'each-line' | 'hanging' | Array<T>Conversion
Type: 'auto' | 'geometricPrecision' | 'optimizeLegibility' | 'optimizeSpeed'
'auto' | 'geometricPrecision' | 'optimizeLegibility' | 'optimizeSpeed'Conversion
Type: 'normal','bidi-override','embed','isolate','isolate-override','plaintext'
'normal','bidi-override','embed','isolate','isolate-override','plaintext'Conversion
Type: string
stringConversion
Type: 'normal', 'break-all', 'break-word', 'keep-all'
'normal', 'break-all', 'break-word', 'keep-all'Conversion
Type: 'normal' | 'anywhere' | 'break-word'
'normal' | 'anywhere' | 'break-word'Conversion
Type: string
stringConversion
Last updated