API

The <WindowTitleBarShell> component wraps the rest of the window title bar, handling layout and low-level communication with the rest of the SmartDesktop.

Props

<WindowTitleBarShell> accepts child components to render.

Usage

Here's hwo the <WindowTitleBarShell> component is used in the default window title bar.

const WindowTitleBar = () => {
	return (
		<WindowTitleBarShell>
			<div className="fsbl-header-left">...</div>
			<div className="fsbl-header-center">...</div>
			<div className="fsbl-header-right">...</div>
		</WindowTitleBarShell>
	);
};