UNPKG

@vnmfify/core

Version:

```shell npm i @vnmfify/core -S ```

11 lines (10 loc) 427 B
/// <reference types="react" /> import { ViewProps } from "@vnxjs/components/types/View"; declare type SkeletonVariant = "rect" | "circle"; declare type SkeletonAnimation = "pulse" | "wave"; interface SkeletonProps extends Omit<ViewProps, "animation"> { variant?: SkeletonVariant; animation?: SkeletonAnimation | false; } declare function Skeleton(props: SkeletonProps): JSX.Element; export default Skeleton;