diff --git a/packages/spor-react/src/loader/SkeletonText.tsx b/packages/spor-react/src/loader/SkeletonText.tsx index 79a4a3ff1..51e271d75 100644 --- a/packages/spor-react/src/loader/SkeletonText.tsx +++ b/packages/spor-react/src/loader/SkeletonText.tsx @@ -1,7 +1,8 @@ -import { BoxProps, SkeletonText as ChakraSkeletonText } from "@chakra-ui/react"; +import { SkeletonText as ChakraSkeletonText, SkeletonTextProps as ChakraSkeletonTextProps } from "@chakra-ui/react"; import React from "react"; -export type SkeletonTextProps = BoxProps; +export type SkeletonTextProps = ChakraSkeletonTextProps + /** * SkeletonText renders a loading animation for a given text. It works great as a placeholder to avoid layout shifts. */