# TooltipProps

Props for [`Tooltip`](https://docs.mapcairn.com/api/map/Tooltip.md).

This is an interface exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import type { TooltipProps } from "@mapcairn/map";
 
interface TooltipProps
```

## Properties

### children

```ts
readonly children: ReactElement;
```

The one focusable element the tooltip belongs to, such as a button. It
must forward its ref and spread extra props onto a DOM element.

### content

```ts
readonly content: ReactNode;
```

The tooltip text. Keep it short and never put the only copy of important information here.

Source: [packages/map/src/ui/Tooltip/Tooltip.tsx:49](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/ui/Tooltip/Tooltip.tsx#L49)
