Skip to content

Commit

Permalink
Merge pull request #769 from nsbno/skeleton-text-height
Browse files Browse the repository at this point in the history
Legg til mulighet for å endre høyden til SkeletonText-komponent
  • Loading branch information
mcklien authored Aug 7, 2023
2 parents 003cefc + 8785dc4 commit 49c5003
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/spor-react/src/loader/SkeletonText.tsx
Original file line number Diff line number Diff line change
@@ -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.
*/
Expand Down

0 comments on commit 49c5003

Please sign in to comment.