Divider
public struct Divider : View
extension Divider: Renderable
A view that creates a line divider for dividing content.
When used inside a VStack, the divider will display a
horizontal line.
When used inside a HStack, the divider will display a
vertical line.
Otherwise, the divider will always display a horizontal line.
-
Declaration
Swift
public var viewStore: ViewValues -
Declaration
Swift
public var body: View { get } -
Declaration
Swift
public init() -
Declaration
Swift
public func createView(context: Context) -> UIView -
Declaration
Swift
public func updateView(_ view: UIView, context: Context)
View on GitHub
Divider Structure Reference