--- // "Less -> More" gradient legend, e.g. for a choropleth map's color scale. import { range } from '@shared/lib/array' interface Props { class?: string } const { class: className } = Astro.props const steps = 10 const color = 'primary' const minLabel = 'Less' const maxLabel = 'More' const items = range(1, steps) ---