Import
tsx
import { Marker } from "@indoku/ui"Examples
Basic usage
Today
Indoku Bot is typing...
Pesan terkirim
Gagal ngirim, coba lagi
tsx
function MarkerDemo() { return ( <Stack gap="4"> <Marker.Separator>Today</Marker.Separator> <Marker.Status tone="info"> <Marker.TypingIndicator /> Indoku Bot is typing... </Marker.Status> <Marker.Status tone="success">Pesan terkirim</Marker.Status> <Marker.Status tone="error">Gagal ngirim, coba lagi</Marker.Status> </Stack> )}Props
Status
| Prop | Type | Default | Description |
|---|---|---|---|
tone | MarkerTone | – | |
icon | ReactNode | – |
* required. Style props and HTML attributes are accepted as well.
Created by @indokudev