ModalHeader

sealed class ModalHeader

The different types of headers that can be used in a modal.

Inheritors

Types

Link copied to clipboard
data class Floating(val trailingAction: ModalHeaderAction, val leadingAction: ModalHeaderAction?) : ModalHeader

This header floats on top of the content, nad only allow the use of leading and trailing actions.

Link copied to clipboard
data class Regular(val title: String?, val trailingAction: ModalHeaderAction, val leadingAction: ModalHeaderAction?) : ModalHeader

This header allows the use of title and leading and trailing actions.

Link copied to clipboard
data object Resizeable : ModalHeader

This header is the simplest one, displaying only a drag-handle.