Describe the bug
related to #761 and PR #762 .
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: Firefox
Before submitting
Describe the bug
related to #761 and PR #762 .
I fixed locally, but couldn't build the docs and/or reproduce the
dockPR 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
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
Before submitting