-
Notifications
You must be signed in to change notification settings - Fork 933
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I fixed locally, but couldn't build the docs and/or reproduce the dock PR that fixes the issue, so I am asking for guidance. I could easily fix the components that depend on that type, but I would like to update the required docs/data dependencies.
P.D: Thanks for this project!
Affected component/components
All that require MotionProps type
How to reproduce
- add the terminal component
pnpm dlx shadcn@latest add @magicui/terminal- Read the "terminal.tsx" file
diff --git a/src/components/ui/terminal.tsx b/src/components/ui/terminal.tsx
index 3078ba6..4134781 100644
--- a/src/components/ui/terminal.tsx
+++ b/src/components/ui/terminal.tsx
@@ -7,7 +7,8 @@ import {
useRef,
useState,
} from "react"
-import { motion, MotionProps, useInView } from "motion/react"
+import { motion, useInView } from "motion/react"
+import type { MotionProps } from "motion/react"
import { cn } from "@/lib/utils"Codesandbox/StackBlitz link
No response
Logs
System Info
OS: CachyOS
Browser: FirefoxBefore submitting
- I've made research efforts and searched the documentation
- I've searched for existing issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working