mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* #46426 Add a failing test * #46426 Fix failing test * #46426 Add comments * #46426 Fix `ref`s * #46426 Revert invaid change * #46426 Put code comments properly * #46426 Fix react-native-material-ripple tests
24 lines
951 B
TypeScript
24 lines
951 B
TypeScript
// 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;
|
|
rippleOpacity?: number;
|
|
rippleDuration?: number;
|
|
rippleSize?: number;
|
|
rippleContainerBorderRadius?: number;
|
|
rippleCentered?: boolean;
|
|
rippleSequential?: boolean;
|
|
rippleFades?: boolean;
|
|
disabled?: boolean;
|
|
onRippleAnimation?(animation: Animated.CompositeAnimation, callback: () => void): void;
|
|
};
|
|
|
|
export default class Ripple extends React.Component<RippleProps> {}
|