UNPKG

tdesign-mobile-vue

Version:
20 lines (19 loc) 587 B
import { TNode } from '../common'; export interface TdSkeletonProps { animation?: 'gradient' | 'flashed' | 'none'; delay?: number; loading?: boolean; rowCol?: SkeletonRowCol; theme?: 'avatar' | 'image' | 'text' | 'paragraph'; } export declare 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'; }