@uiw/react-native
Version:
UIW for React Native
16 lines (15 loc) • 487 B
TypeScript
import React from 'react';
import { EasingFunction, ViewStyle, StyleProp } from 'react-native';
declare type AnimationType = 'none' | 'stripe' | 'pulse';
interface SkeletonProps {
loading?: boolean;
styles: ViewStyle[];
duration?: number;
easing?: EasingFunction;
containerStyle?: StyleProp<ViewStyle>;
animationType?: AnimationType;
boneColor?: string;
highlightColor?: string;
}
declare const Skeleton: React.FC<SkeletonProps>;
export default Skeleton;