Skip to main content

FloatButton

Interfaces

FloatButtonProps

Properties

PropertyTypeDescriptionDefined in
iconReactNodeThe icon to display in the float button.manager/components/FloatButton.tsx:8
onClick() => voidThe click action of the float button.manager/components/FloatButton.tsx:12
ordernumberThe order of the button, i.e., (order - 1) * 40 pixels away from the bottom.manager/components/FloatButton.tsx:6
tooltipstringThe tooltip text to show when hovering the float button.manager/components/FloatButton.tsx:10

Functions

default()

default(__namedParameters): Element

The float button component in the bottom right corner.

This will be a circular icon button with a tooltip on hover, rendered in the bottom right corner of the window.

Parameters

ParameterType
__namedParametersFloatButtonProps

Returns

Element

Defined in

manager/components/FloatButton.tsx:21