@aarsteinmedia/dotlottie-player 3.2.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -154,7 +154,7 @@ If you're using TypeScript and want to assign the component a `ref`, you can do
154
154
  ```tsx
155
155
  import { useRef } from 'react'
156
156
  import '@aarsteinmedia/dotlottie-player'
157
- import type { DotLottiePlayer } from '@aarsteinmedia/dotlottie-player'
157
+ import type DotLottiePlayer from '@aarsteinmedia/dotlottie-player'
158
158
 
159
159
  function App() {
160
160
  const animation = useRef<DotLottiePlayer | null>(null)
@@ -216,7 +216,7 @@ export default defineNuxtConfig({
216
216
 
217
217
  ```typescript
218
218
  import { createApp } from 'vue'
219
- import { DotLottiePlayer } from '@aarsteinmedia/dotlottie-player'
219
+ import DotLottiePlayer from '@aarsteinmedia/dotlottie-player'
220
220
  import App from './App.vue'
221
221
 
222
222
  const app = createApp(App)
@@ -227,7 +227,7 @@ app.component('DotLottiePlayer', DotLottiePlayer)
227
227
  Create a `plugins` folder in your root if it doesn't exist already, add a file named `dotlottie-player.js`:
228
228
 
229
229
  ```javascript
230
- import { DotLottiePlayer } from '@aarsteinmedia/dotlottie-player'
230
+ import DotLottiePlayer from '@aarsteinmedia/dotlottie-player'
231
231
 
232
232
  export default defineNuxtPlugin(({ vueApp }) => {
233
233
  vueApp.component('DotLottiePlayer', DotLottiePlayer)