Interface MultiMetricUSStateMapProps

Hierarchy

  • MultiMetricUSStateMapProps

Properties

getTooltip?: ((region: Region) => ReactNode)

Type declaration

    • (region: Region): ReactNode
    • Function that returns tooltip content for a given region.

      Returns

      Tooltip content for the region.

      Parameters

      • region: Region

        Region for which to get tooltip content.

      Returns ReactNode

highlightedRegion?: Region

Region to highlight on the map by rendering the shape with an outline.

metrics: (string | Metric)[]

Array of metrics that can be used to color the map.

regionDB: RegionDB

Region DB instance. Used for generating region links, coloring the map, etc.

stateRegionId: string

RegionId of the state being mapped.

Generated using TypeDoc