0.9.6 • Published 5 months ago
@types/react-native-material-ripple v0.9.6
Installation
npm install --save @types/react-native-material-ripple
Summary
This package contains type definitions for react-native-material-ripple (https://github.com/n4kz/react-native-material-ripple).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-material-ripple.
index.d.ts
// Type definitions for react-native-material-ripple 0.9
// Project: https://github.com/n4kz/react-native-material-ripple
// Definitions by: Serhiy Zhelizniak <https://github.com/SerhiyZheliznjak>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import * as React from 'react';
import { TouchableWithoutFeedback, Animated, ViewProps } from 'react-native';
export type RippleProps = TouchableWithoutFeedback['props'] &
Animated.AnimatedProps<ViewProps> & {
rippleColor?: string | undefined;
rippleOpacity?: number | undefined;
rippleDuration?: number | undefined;
rippleSize?: number | undefined;
rippleContainerBorderRadius?: number | undefined;
rippleCentered?: boolean | undefined;
rippleSequential?: boolean | undefined;
rippleFades?: boolean | undefined;
disabled?: boolean | undefined;
onRippleAnimation?(animation: Animated.CompositeAnimation, callback: () => void): void;
};
export default class Ripple extends React.Component<RippleProps> {}
Additional Details
- Last updated: Thu, 08 Jul 2021 22:41:12 GMT
- Dependencies: @types/react, @types/react-native
- Global values: none
Credits
These definitions were written by Serhiy Zhelizniak.