Skip to content

Commit

Permalink
fix: fixframer-motion declarions
Browse files Browse the repository at this point in the history
  • Loading branch information
triyanox committed Dec 17, 2023
1 parent 2d6bfab commit 21200b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/core/src/ui/button.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* `framer-motion` typescript definitions are not up to date.
* So, I have to use `@ts-ignore` to ignore the errors.
* I will remove it once the definitions are up to date.
*/
import { cn } from "@/lib/utils";
import { ButtonProps } from "@/types/button.types";
import { motion } from "framer-motion";
Expand Down
5 changes: 5 additions & 0 deletions packages/core/src/ui/helpers.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* `framer-motion` typescript definitions are not up to date.
* So, I have to use `@ts-ignore` to ignore the errors.
* I will remove it once the definitions are up to date.
*/
import { AnimatePresence, motion } from "framer-motion";
import { IfElseProps, IfProps } from "../types/helpers.types";
import { cn } from "@/lib/utils";
Expand Down

0 comments on commit 21200b7

Please sign in to comment.