1.11.2 • Published 2 years ago
@synup/locator-components v1.11.2
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
2 years ago
1.11.1
3 years ago
1.11.0
3 years ago
1.10.1
3 years ago
1.10.0
3 years ago
1.8.2
3 years ago
1.8.1
4 years ago
1.8.0
4 years ago
1.7.0
4 years ago
1.8.4
3 years ago
1.8.3
3 years ago
1.6.3
4 years ago
1.6.2
4 years ago
1.6.1
4 years ago
1.6.0
4 years ago
1.5.0
4 years ago
1.4.3
4 years ago
1.4.2
4 years ago
1.4.1
4 years ago
1.4.0
4 years ago
1.3.2
4 years ago
1.3.1
4 years ago
1.3.0
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago