1681-engine / react / PanelProps
Interface: PanelProps ​
Defined in: src/react/Panel.tsx:9
Properties ​
at? ​
optional at?: Point;Defined in: src/react/Panel.tsx:17
Where it wants to stand, screen px; default: centred. It is moved back inside the screen either way.
children? ​
optional children?: ReactNode;Defined in: src/react/Panel.tsx:13
className? ​
optional className?: string;Defined in: src/react/Panel.tsx:20
footer? ​
optional footer?: ReactNode;Defined in: src/react/Panel.tsx:19
Under the scrolling body, never scrolled away (a row of buttons).
onClose? ​
optional onClose?: () => void;Defined in: src/react/Panel.tsx:12
The close button's action; no close button without it.
Returns ​
void
style? ​
optional style?: CSSProperties;Defined in: src/react/Panel.tsx:21
title ​
title: ReactNode;Defined in: src/react/Panel.tsx:10
titleText? ​
optional titleText?: string;Defined in: src/react/Panel.tsx:23
The title as plain text, for the close button's spoken name when title is not a string.
width? ​
optional width?: number;Defined in: src/react/Panel.tsx:15
The width it wants, in px (its own units); default: as wide as its content.