react-native-skeleton-component
Version:
A skeleton component for react-native and react-native-web.
17 lines • 685 B
TypeScript
import * as React from "react";
import { Animated } from "react-native";
export interface SkeletonContextProps {
backgroundColor?: string | Animated.AnimatedInterpolation;
}
export declare const SkeletonContext: React.Context<SkeletonContextProps>;
export interface SkeletonContainerProps {
children?: React.ReactNode;
backgroundColor?: string;
highlightColor?: string;
speed?: number;
animation?: "pulse" | "none" | "wave";
}
export declare const defaultProps: SkeletonContainerProps;
export declare const SkeletonContainer: React.FC<SkeletonContainerProps>;
export default SkeletonContainer;
//# sourceMappingURL=SkeletonContainerBase.d.ts.map