Usage
Props
| Prop Name | Type | Default | Description |
|---|---|---|---|
direction | normal | reverse | normal | The direction of the orbit. You can use the constant ORBIT_DIRECTION. |
duration | ?number | 20 | The duration of the orbit animation in seconds. |
delay | ?number | 10 | Delay in seconds before the animation starts. |
radius | ?number | 50 | Radius of the orbit path in pixels. |
path | ?boolean | false | Displays a circle path for the orbit if true. |
Credits
- Inspired by Magic UI
- Credits to Nathan De Pachtere for updating this component