MattDavis00 / lottie-svelte

https://www.npmjs.com/package/lottie-svelte
MIT License
9 stars 2 forks source link

Change example 2 to multi-line, and include imports #16

Closed MattDavis00 closed 1 year ago

MattDavis00 commented 1 year ago

Currently when viewing the README on npmjs.com, example 2 has a horizontal scrollbar.

Task 1: change this example to be a multi-line code block instead, where the properties span multiple lines.

This example is also missing the Lottie import and iface Direction import.

Task 2: add the required imports for this code snippet