severity
open fun severity(value: SeverityProperties.SeverityContext.() -> Severity)
Content copied to clipboard
Property to manage the severity value of the component.
myComponent {
severity { warning } // often this is passed from a [Flow] of course
}Content copied to clipboard
Parameters
value
mapping expression from a SeverityContext to the enumeration value.