ModalHeader

sealed class ModalHeader

The different types of headers and data used for a ModalsHeaderVariant.

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 displaying only a drag handle.