@mapbox/react-control-switch

A Mapbox React component.

Usage no npm install needed!

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

README

@mapbox/react-control-switch

Installation

npm install @mapbox/react-control-switch

Props

Please check propTypes in the source file.