Screens (56)
Brand Regions
Brand / Regions — where a brand shows up in AI answers, country by country, in a single file.
Loading Brand Regions…
Usage
import { BrandRegionsScreen } from "ui-kit/screens/brand-regions";Props
| Prop | Type | Default | Description |
|---|---|---|---|
workspace | string | "Northwind" | The workspace in the sidebar |
brand | string | "Brand" | The page's heading |
regions | BrRegion[] | ((query: BrandRegionsQuery) => BrRegion[]) | — | Metrics for the current filters, or a fixed dataset supplied by the host. |
onQueryChange | (query: BrandRegionsQuery) => void | — | Called when the host should load a new dataset. |
answers | number | 5_600 | How many answers the numbers come from – the button on the right of the tabs |
date | Date | — | The last day of the period, for the tooltip |
defaultTab | (typeof TABS)[number] | "Regions" | The tab the screen opens on – its content here is Regions; the others call onTab |
onTab | (tab: (typeof TABS)[number]) => void | — | Called when another tab is picked |
onAnswers | () => void | — | The 5.6k answers button |
loading | boolean | false | Gray map and rows while the numbers load |
empty | boolean | false | No answers yet in this period |