How to install the react package in your project
Install Latitude for React
@latitude-data/react
package in your project:Import the styles
Wrap your app with the LatitudeProvider
LatitudeProvider
to enable the use of Latitude components.
In the LatitudeProvider
, you must set the apiConfig
to configure the API connection with the Latitude server.styles.css
, and add a theme={false}
prop to the LatitudeProvider
.
This way they won’t be included in your bundle.