ModalHeaderParams
constructor(variant: ModalsHeaderVariant, title: String? = null, trailingAction: ModalHeaderAction? = null, leadingAction: ModalHeaderAction? = null)
Parameters
variant
ModalsHeaderVariant determines how the component looks and feels
title
Title to be display in the ModalsHeaderVariant.Regular variant
trailingAction
ModalHeaderAction Optional action for the ModalsHeaderVariant.Regular and ModalsHeaderVariant.Floating variants of the header
leadingAction
ModalHeaderAction Mandatory action for the ModalsHeaderVariant.Regular and ModalsHeaderVariant.Floating variants of the header. Usually use to add a close button.