escalade-dealer-locator
v1.2.9
Published
Display a Google map with Escalade dealers via React or as an injectable web component.
Downloads
6
Keywords
Readme
Escalade Dealer Locator
Display a Google map with Escalade dealers via React or as an injectable web component.
With React
Installation
With Yarn:
yarn add escalade-dealer-locator
With npm:
npm install --save escalade-dealer-locator
Usage
import DealerLocator from 'escalade-dealer-locator'
...
<DealerLocator brand='goalrilla' />
With Anything Else
<div data-esca-dealers-loading>Loading...</div>
<div data-esca-dealers></div>
<!-- Before your closing </body> tag -->
<script src='https://escalade-dealer-locator-v1.netlify.com/index.js' async></script>
<script>
new EscaDealerLocator({
brand: 'goalrilla'
})
</script>