Skip to main content

InfoButton

Storybook

Go to Story

InfoButton()

function InfoButton(__namedParameters): Element;

Defined in: src/components/InfoButton/InfoButton.tsx:24

A button component with an information icon that can be used as a trigger.

Parameters

ParameterType
__namedParametersDetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>>

Returns

Element

Example

// Basic usage with Tooltip
<Tooltip tooltip="Additional information here">
<InfoButton />
</Tooltip>