Skip to main content

Interface: GeovisWorkspaceProviderProps

Defined in: GeovisWorkspaceProvider.tsx:9

Properties

children

children: ReactNode

Defined in: GeovisWorkspaceProvider.tsx:11

Content to render inside the provider.


config

config: GeovisWorkspaceConfig

Defined in: GeovisWorkspaceProvider.tsx:13

Config describing the sidebars.


onSelectionChange?

optional onSelectionChange?: (selection) => void

Defined in: GeovisWorkspaceProvider.tsx:24

Called with the full next selection whenever an item in a menu group is selected. Use it to rebuild the visualizationSpec in the parent.

Parameters

ParameterType
selectionGeovisWorkspaceSelection

Returns

void


selection?

optional selection?: GeovisWorkspaceSelection

Defined in: GeovisWorkspaceProvider.tsx:19

Active item value per menu group, keyed by menu id. Provide it to control the selection from the parent. Omit it to let the provider manage the selection internally (seeded from each menu's defaultValue).