Contents

makeBody(configuration:)

Returns the appearance and interaction content for a DatePicker.

Declaration

@ViewBuilder @MainActor @preconcurrency func makeBody(configuration: Self.Configuration) -> Self.Body

Parameters

  • configuration:

    The properties of the date picker.

Discussion

The system calls this method for each DatePicker instance in a view hierarchy where this style is the current date picker style.

See Also

Creating custom date picker styles