Markers & Annotations@knitui/map
Callout
Callout is a speech-bubble that belongs to a marker's selected state on native (@maplibre/maplibre-react-native). On web it has no native marker host, so it renders as a best-effort inline bubble — here it is placed inside a Marker so it appears anchored on the map. Treat web rendering as a preview; the authoritative behaviour is on native.
WebiOSAndroidnative split7 own props2 examples
import { Callout } from "@knitui/map";Playground
Loading playground…
<Callout />Examples
Basic
A simple callout bubble with a title and content (web best-effort).
Loading example…
Title Only
Title-only callout — children fall back to the title text.
Loading example…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | |
contentStyle | unknown | — | |
style | unknown | — | |
testID | string | undefined | — | |
tipStyle | unknown | — | |
title | string | undefined | — | |
titleStyle | unknown | — |