react-native-shimmer-placeholder
Version:
<h2 align="center"> React Native Shimmer Placeholder </h2> <p align="center"> <a href="https://www.npmjs.com/package/react-native-shimmer-placeholder"><img src="https://img.shields.io/npm/v/react-native-shimmer-placeholder.svg?style=flat-square"></a>
22 lines (21 loc) • 626 B
TypeScript
declare module 'react-native-shimmer-placeholder' {
import React from 'react';
type Props = {
width?: number | string,
height?: number | string,
widthShimmer?: number,
duration?: number,
delay?: number,
colorShimmer?: string[],
reverse?: boolean,
autoRun?: boolean,
visible?: boolean,
children?: any,
style?: any,
backgroundColorBehindBorder?: string,
hasBorder?: boolean,
isInteraction?: boolean,
}
declare class MyComponent extends React.Component<Props, any> {}
export default MyComponent
}