Closed baseplate-admin closed 5 months ago
For dotLottie-svelte, the src
prop is expected to be a URL. If you want to pass the animation JSON directly, use the data
prop instead and pass the animation JSON to the data
prop.
Alright makes sense. i will get back to you
@baseplate-admin will close this issue, feel free to reopen if it's not resolved, thanks
Overview
For example i can do something like this in
LottiePlayer
But this is not doable in
dotlottie
Consuming repo
https://github.com/coreproject-moe/CoreProject-Monorepo/blob/bb4996c8f434466cb0d4d8ed1a4aa1719ebe8e18/backend/django_core/static_src/components/page/home/Index.svelte#L100C1-L106C19
Labels
Type: Bug
label to this issue.