@fremtind/jkl-loader-react
Version:
Jøkul react loader component
9 lines (8 loc) • 381 B
TypeScript
import React, { HTMLProps } from "react";
export interface SkeletonElementProps extends Pick<HTMLProps<HTMLDivElement>, "style"> {
className?: string;
shape?: "rect" | "circle";
width: number | string;
height: number | string;
}
export declare const SkeletonElement: ({ shape, width, height, style, className, ...rest }: SkeletonElementProps) => React.JSX.Element;