Noora.DismissIcon
(noora v0.1.0-alpha.3)
Renders a dismiss icon button for closing or removing elements, with customizable size.
Functions
Attributes
size
(:string
) - The size of the icon. Defaults to "large"
. Must be one of "small"
, or "large"
.on_dismiss
(:string
) - Defaults to nil
.- Global attributes are accepted. Supports all globals plus:
["disabled"]
.