Dialog | DialogHeader
DialogHeader#
Description#
- Dialog header container. Arranges the title and description, and can render a close button in the top-right corner.
Props#
closable(boolean) — Renders the close button. Default:false.closeLabel(string) — Close button label. Passing it also renders the button.closeStyle('icon'|'label') — Close button style. Default:'icon'.
Usage#
| |
Notes#
closeLabelimpliesclosable: passing the text alone is enough to show the button.- The button text comes from
closeLabel, the catalog (dialog.close), or the fallback “Close”.