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
stringConversion
// CSS
- background-filter: todo;
// React Native
+ backdropFilter: "todo",desccc
Type: string
stringConversion
desccc
Type: string
stringConversion
desccc
Type: string
stringConversion
desccc
Type: string
stringConversion
desccc
Type: enum('border-box', 'content-box', 'padding-box')
enum('border-box', 'content-box', 'padding-box')Conversion
desccc
Type: string
stringConversion
desccc
Type: string
stringConversion
desccc
Type: string
stringConversion
desccc
Type: string
stringConversion
desccc
Type: string
stringConversion
desccc
Type: string
stringConversion
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
ColorPropTypeConversion
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
stringConversion
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)
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
stringConversion
desccc
Type: string
stringConversion
WebkitMaskImage
desccc
Type: string
stringConversion
WebkitOverflowScrolling
desccc
Type: enum('auto', 'touch')
enum('auto', 'touch')Conversion
Last updated
Was this helpful?