UNPKG

tdesign-vue-next

Version:
20 lines (19 loc) 605 B
import { TNode } from '../common'; export interface TdSkeletonProps { animation?: 'gradient' | 'flashed' | 'none'; delay?: number; loading?: boolean; rowCol?: SkeletonRowCol; theme?: 'text' | 'avatar' | 'paragraph' | 'avatar-text' | 'tab' | 'article'; } export type SkeletonRowCol = Array<Number | SkeletonRowColObj | Array<SkeletonRowColObj>>; export interface SkeletonRowColObj { width?: string; height?: string; size?: string; marginRight?: string; marginLeft?: string; margin?: string; content?: string | TNode; type?: 'rect' | 'circle' | 'text'; }