TopBarProps
interfaceProps for TopBar.
Properties
| Name | Type | Description |
|---|---|---|
onSelectStore | (id: string) => void | Callback invoked when a store is chosen. |
selectedStoreId | null | string | The currently selected store ID, or null. |
stores | RegisteredStore[] | Array of registered stores to display. |