feat(SW-325): added pois to the list and dynamic map
This commit is contained in:
34
components/Maps/Markers/Poi/variants.ts
Normal file
34
components/Maps/Markers/Poi/variants.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
import { cva } from "class-variance-authority"
|
||||
|
||||
import styles from "./poi.module.css"
|
||||
|
||||
export const poiVariants = cva(styles.icon, {
|
||||
variants: {
|
||||
category: {
|
||||
Airport: styles.airport,
|
||||
"Amusement park": styles.amusementPark,
|
||||
"Bus terminal": styles.busTerminal,
|
||||
Fair: styles.fair,
|
||||
Hospital: styles.hospital,
|
||||
Hotel: styles.hotel,
|
||||
"Marketing city": styles.marketingCity,
|
||||
Museum: styles.museum,
|
||||
"Nearby companies": styles.nearbyCompanies,
|
||||
"Parking / Garage": styles.parkingGarage,
|
||||
Restaurant: styles.restaurant,
|
||||
Shopping: styles.shopping,
|
||||
Sports: styles.sports,
|
||||
Theatre: styles.theatre,
|
||||
Tourist: styles.tourist,
|
||||
Transportations: styles.transportations,
|
||||
Zoo: styles.zoo,
|
||||
},
|
||||
skipBackground: {
|
||||
true: styles.transparent,
|
||||
false: "",
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
skipBackground: false,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user