@mapbox/react-control-legend

A Mapbox React component.

Usage no npm install needed!

<script type="module">
  import mapboxReactControlLegend from 'https://cdn.skypack.dev/@mapbox/react-control-legend';
</script>

README

@mapbox/react-control-legend

A legend element that groups related elements in a form.

Installation

npm install @mapbox/react-control-legend

Props

Please check propTypes in the source file.