import { ArgTypes } from '@storybook/blocks';
import { Tooltip } from './Tooltip';

# Tooltip

## Theme

There are currently themes available for the Tooltip.

- Info
- Error
- Info-alt (alternative)

### Info

This is the default theme, usually used in forms to show more information.

### Error

Tooltip with a red background.

### Info alternative

We added this to be able to add a `<JSONFormatter />` in the tooltip.

<ArgTypes of={Tooltip} />
