SeparatorShapeStyle

A style appropriate for foreground separator or border lines.

StructureiOS 17.0+macOS 10.15+tvOS 17.0+watchOS 10.0+SeparatorShapeStyle in SwiftUI

Declaration

React
type SeparatorShapeStyle = SwiftOpaque<'SeparatorShapeStyle'>;
Swift
struct SeparatorShapeStyle

Overview

You can also use ShapeStyle.separator to construct this style.

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

See also

More in Styles.