function createCardSkeleton
createCardSkeleton(props?:
{ showImage?: boolean; showActions?: boolean; imageHeight?: string; }
& Pick<
"darkMode" | "animate" | "animation" | "class"
>
): HTMLDivElement

Create a card skeleton

Examples

Example 1

const skeleton = createCardSkeleton({ showImage: true });

Parameters

optional
props:
{ showImage?: boolean; showActions?: boolean; imageHeight?: string; }
& Pick<
"darkMode" | "animate" | "animation" | "class"
>

Return Type

HTMLDivElement

Usage

import { createCardSkeleton } from ".";