react-content-loader
Version:
SVG-Powered component to easily create placeholder loadings (like Facebook cards loading)
27 lines • 810 B
TypeScript
import React, { Component } from 'react';
import { Animated } from 'react-native';
import { IContentLoaderProps } from './';
declare class NativeSvg extends Component<IContentLoaderProps> {
static defaultProps: {
animate: boolean;
backgroundColor: string;
foregroundColor: string;
rtl: boolean;
speed: number;
interval: number;
style: {};
beforeMask: any;
};
animatedValue: Animated.Value;
fixedId: string;
idClip: string;
idGradient: string;
unmounted: boolean;
setAnimation: () => void;
componentDidMount: () => void;
componentDidUpdate(prevProps: IContentLoaderProps): void;
componentWillUnmount(): void;
render(): React.JSX.Element;
}
export default NativeSvg;
//# sourceMappingURL=Svg.d.ts.map