You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that Motion has a vanilla API, most of the types are only available under motion/react. Is it possible to export them under motion?
For example, you want to create your own wrapper in Svelte, you will have to import all of the ff. props in motion/react
<scriptlang="ts">
importtype {DOMKeyframesDefinition,DynamicAnimationOptions,AnimationPlaybackControls,MotionProps// this can be used in other frameworks} from'motion/react'// nice if can be imported in `motion`!const props:MotionProps=$props()
</script>
The text was updated successfully, but these errors were encountered:
Also have the same issue, happy to raise a PR for the first two types as that's what I'm after to start working with this in Vue. Should be a simple matter.
Now that Motion has a vanilla API, most of the types are only available under
motion/react
. Is it possible to export them undermotion
?For example, you want to create your own wrapper in Svelte, you will have to import all of the ff. props in
motion/react
The text was updated successfully, but these errors were encountered: