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

Conversion

// CSS
- background-filter: todo;

// React Native
+ backdropFilter: "todo",

desccc

Type: string

Conversion

desccc

Type: string

Conversion

desccc

Type: string

Conversion

desccc

Type: string

Conversion

desccc

Type: enum('border-box', 'content-box', 'padding-box')

Conversion

desccc

Type: string

Conversion

desccc

Type: string

Conversion

desccc

Type: string

Conversion

desccc

Type: string

Conversion

desccc

Type: string

Conversion

desccc

Type: 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 the outlineColor property. An element must have an outline before you change the color of it.

Type: ColorPropType

Conversion

desccc

Type: 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

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 the outlineWidth property. An element must have an outline before you change the width of it.

Type: 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')

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')

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')

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')

Conversion

desccc

Type: string

Conversion

desccc

Type: string

Conversion

WebkitMaskImage

desccc

Type: string

Conversion

WebkitOverflowScrolling

desccc

Type: enum('auto', 'touch')

Conversion

Last updated

Was this helpful?