Maximize panel
"restored"The panel is restored.
Navigation and layout
PanelStateIconSwitches between restored and maximized panel sizes.
The panel is restored.
"restored"The panel is restored.
"maximized"The panel is maximized.
Implementation
The component stays presentational. Your application remains in control of async work and business logic. The state prop is a TypeScript string literal union — pass an invalid state and you'll get a type error at build time.
import { PanelStateIcon } from "@stateglyph/react";
<PanelStateIcon state="restored" decorative />