UNPKG

televerse-skeleton

Version:

A lightweight and customizable loading skeleton library for React components. This library provides a collection of reusable loading skeleton components for displaying placeholders while content is being fetched or loaded from an external source. The loa

32 lines (28 loc) 573 B
import styles from "../styles/yourTELV.module.css"; import DivLoadingSkeleton from "./DivLoadingSkeleton"; const YourTELVLoadingSkeleton = ({ width, height, bgColor, fgColor, typeOfAnimation, speedInS, bRadius, theme, lineW, lineH, btnW, btnH, }) => { const cardStyle = { width, height, background: theme === "dark" ? "#232330" : "#F9FBE7", borderRadius: bRadius, }; return ( <div className={styles.card} style={cardStyle}> </div> ); }; export default YourTELVLoadingSkeleton;