@mapbox/react-loader-full

A Mapbox React component.

Usage no npm install needed!

<script type="module">
  import mapboxReactLoaderFull from 'https://cdn.skypack.dev/@mapbox/react-loader-full';
</script>

README

@mapbox/react-loader-full

A loading element that blocks the whole screen.

Use this when you want to prevent the user from performing any new actions while they await the fulfillment of a prior action.

If you'd like to allow the user to perform other actions during loading, use LoaderLocal, instead.

Installation

npm install @mapbox/react-loader-full

Props

Please check propTypes in the source file.