Usage Guide
Basic Implementation
Here’s a complete example showing how to use the DotLottie component with various controls:
Animation Control
The component provides several methods to control the animation playback:
Playback Controls
Playback Modes
You can control the direction of the animation using playback modes:
Loading Animations
The component supports loading animations from different sources:
Styling
You can style the animation container using standard React Native style props:
Error Handling
It’s recommended to handle potential loading errors: