1.11.2 • Published 1 year ago

@synup/locator-components v1.11.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Locator - Warby Parker components package

Environment Variables

Make .env file like this and place it in the same directory as package.json for passing the API keys to React Application

REACT_APP_SYNUP_API_KEY="<YOUR-API-KEY>"
REACT_APP_GOOGLE_API_KEY="<YOUR-API-KEY>"

Access API keys inside the React Application

const apiKey = process?.env?.REACT_APP_SYNUP_API_KEY || "";
const googleApiKey = process?.env?.REACT_APP_GOOGLE_API_KEY || "";

Now use the React component like this:

<WarbyLocator apiKey={apiKey} googleApiKey={googleApiKey} />
1.11.2

1 year ago

1.11.1

2 years ago

1.11.0

2 years ago

1.10.1

2 years ago

1.10.0

2 years ago

1.8.2

2 years ago

1.8.1

2 years ago

1.8.0

2 years ago

1.7.0

2 years ago

1.8.4

2 years ago

1.8.3

2 years ago

1.6.3

2 years ago

1.6.2

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago