Skip to main content

Interface: ProximityCategory

Defined in: spec/types.proximity.ts:43

A kind of place the search returns, and how its pins look.

Properties​

color​

color: string

Defined in: spec/types.proximity.ts:49

The pin's colour, #RRGGBB.


icon?​

optional icon?: string

Defined in: spec/types.proximity.ts:51

@ttoss/react-icons icon drawn in white inside the pin.


id​

id: string

Defined in: spec/types.proximity.ts:45

Matched against ProximityResult.categoryId.


label​

label: string

Defined in: spec/types.proximity.ts:47

Name of the kind, shown on the place's card and in the counts.