SquareButton beta
Function of @v12-engine/client/hud
ts
export declare function SquareButton(props: {
glyph?: string;
children?: JSX.Element;
label: string;
hotkey?: string;
pressed?: boolean;
size?: 'md' | 'sm' | 'lg';
onPress?: (event: MouseEvent) => void;
class?: string;
'aria-haspopup'?: 'dialog' | 'menu';
}): JSX.Element;A square plate with a picture: the top bar's right end, the minimap's column. glyph names its drawn picture; size md 30 pixels, sm 27, lg 33 (the minimap's)