Skip to main content

CloseButton API

The <CloseButton> component is button for the window title bar that closes the window.

Even when used in the window title bar's template, the <CloseButton> will only show itself for components that have the feature enabled in config. See the config reference.

Props

<CloseButton> accepts no props.

Usage

Here's how the <CloseButton> component is used in the default window title bar:

<WindowTitleBarShell>
...
<div className="fsbl-header-right">
...
<CloseButton />
...
</div>
...
</WindowTitleBarShell>