Components (172)
Agent Metro Map
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Agent Metro Map…
Usage
import { AgentMetroMap } from "ui-kit/components/agent-metro-map";Props
| Prop | Type | Default | Description |
|---|---|---|---|
lines* | MetroLine[] | — | — |
stations* | MetroStation[] | — | — |
title | string | "Metro map" | — |
onApprove | (station: MetroStation) => void | — | Show Approve and Reject in the card of a station that's waiting – the card closes after either |
onReject | (station: MetroStation) => void | — | — |
onSelect | ( item: | { station: MetroStation; } | { line: MetroLine; } | null, ) => void | — | A click on a station or a line – its card opens; null when it closes |
className | string | — | — |