UNPKG

@onethousandswaps-libs/uikit

Version:

User interface package for One THousand Swaps apps

20 lines (15 loc) 448 B
import { LayoutProps, SpaceProps } from "styled-system"; export const animation = { WAVES: "waves", PULSE: "pulse", } as const; export const variant = { RECT: "rect", CIRCLE: "circle", } as const; export type Animation = typeof animation[keyof typeof animation]; export type Variant = typeof variant[keyof typeof variant]; export interface SkeletonProps extends SpaceProps, LayoutProps { animation?: Animation; variant?: Variant; }