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
backdropFilter
desccc
Type: string
Conversion
// CSS
- background-filter: todo;
// React Native
+ backdropFilter: "todo",backgroundAttachment
desccc
Type: string
Conversion
backgroundBlendMode
desccc
Type: string
Conversion
backgroundClip
desccc
Type: string
Conversion
backgroundImage
desccc
Type: string
Conversion
backgroundOrigin
desccc
Type: enum('border-box', 'content-box', 'padding-box')
Conversion
backgroundPosition
desccc
Type: string
Conversion
backgroundRepeat
desccc
Type: string
Conversion
backgroundSize
desccc
Type: string
Conversion
boxShadow
desccc
Type: string
Conversion
clip
desccc
Type: string
Conversion
filter
desccc
Type: string
Conversion
outlineColor
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
outlineStyleproperty before theoutlineColorproperty. An element must have an outline before you change the color of it.
Type: ColorPropType
Conversion
outlineOffset
desccc
Type: enum(string, number)
Conversion
outlineStyle
An outline is a line that is drawn around elements (outside the borders) to make the element "stand out".
Type: string
Conversion
outlineWidth
An outline is a line that is drawn around elements (outside the borders) to make the element "stand out".
Note: Always declare the
outlineStyleproperty before theoutlineWidthproperty. An element must have an outline before you change the width of it.
Type: enum(string, number)
Conversion
overscrollBehavior
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')
Conversion
overscrollBehaviorX
The overscrollBehaviorX CSS property sets the browser's behavior when the horizontal boundary of a scrolling area is reached.
Type: enum('auto', 'contain', 'none')
Conversion
overscrollBehaviorY
The overscrollBehaviorY CSS property sets the browser's behavior when the vertical boundary of a scrolling area is reached.
Type: enum('auto', 'contain', 'none')
Conversion
scrollbarWidth
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')
Conversion
scrollSnapAlign
desccc
Type: string
Conversion
scrollSnapType
desccc
Type: string
Conversion
WebkitMaskImage
desccc
Type: string
Conversion
WebkitOverflowScrolling
desccc
Type: enum('auto', 'touch')
Conversion
Last updated
Was this helpful?