View
React Native for web provides access to browser-only style properties. The following styles apply to any primitive that extends `ViewStylePropTypes` like Text, Image, TextInput, ScrollView, etc...
The API
desccc
Type: string
string
Conversion
desccc
Type: string
string
Conversion
desccc
Type: string
string
Conversion
desccc
Type: string
string
Conversion
desccc
Type: string
string
Conversion
desccc
Type: enum('border-box', 'content-box', 'padding-box')
enum('border-box', 'content-box', 'padding-box')
Conversion
desccc
Type: string
string
Conversion
desccc
Type: string
string
Conversion
desccc
Type: string
string
Conversion
desccc
Type: string
string
Conversion
desccc
Type: string
string
Conversion
desccc
Type: string
string
Conversion
An outline is a line that is drawn around elements (outside the borders) to make the element "stand out".
The outlineColor
property specifies the color of an outline.
Note: Always declare the
outlineStyle
property before theoutlineColor
property. An element must have an outline before you change the color of it.
Type: ColorPropType
ColorPropType
Conversion
desccc
Type: enum(string, number)
enum(string, number)
Conversion
An outline is a line that is drawn around elements (outside the borders) to make the element "stand out".
Type: string
string
Conversion
An outline is a line that is drawn around elements (outside the borders) to make the element "stand out".
Note: Always declare the
outlineStyle
property before theoutlineWidth
property. An element must have an outline before you change the width of it.
Type: enum(string, number)
enum(string, number)
Conversion
The overscrollBehavior
CSS property sets what a browser does when reaching the boundary of a scrolling area. It's a shorthand for overscrollBehaviorX
and overscrollBehaviorY
.
Type: enum('auto', 'contain', 'none')
enum('auto', 'contain', 'none')
Conversion
The overscrollBehaviorX
CSS property sets the browser's behavior when the horizontal boundary of a scrolling area is reached.
Type: enum('auto', 'contain', 'none')
enum('auto', 'contain', 'none')
Conversion
The overscrollBehaviorY
CSS property sets the browser's behavior when the vertical boundary of a scrolling area is reached.
Type: enum('auto', 'contain', 'none')
enum('auto', 'contain', 'none')
Conversion
The scrollbar-width property allows the author to set the maximum thickness of an element’s scrollbars when they are shown.
Type: enum('auto', 'thin', 'none')
enum('auto', 'thin', 'none')
Conversion
desccc
Type: string
string
Conversion
desccc
Type: string
string
Conversion
WebkitMaskImage
desccc
Type: string
string
Conversion
WebkitOverflowScrolling
desccc
Type: enum('auto', 'touch')
enum('auto', 'touch')
Conversion
Last updated