IndexViewStyle

Defines the implementation of all IndexView instances within a view hierarchy.

ProtocoliOS 14.0+tvOS 14.0+watchOS 8.0+IndexViewStyle in SwiftUI

Declaration

React
type IndexViewStyle =
  | 'page'
  | { page: { backgroundDisplayMode: PageIndexViewStyleBackgroundDisplayMode; }; }
  | PageIndexViewStyle;
Swift
protocol IndexViewStyle

Pass a literal, or build one with SwiftUI.IndexViewStyle from import { SwiftUI } from 'swiftui-react-native'.

Type properties

Type methods

Overview

To configure the current IndexViewStyle for a view hierarchy, use the .indexViewStyle() modifier.

From Apple’s SwiftUI documentation. Code samples there are Swift.

Used by

See also

More in Styles.