0.9.6 • Published 5 months ago

@types/react-native-material-ripple v0.9.6

Weekly downloads
1,439
License
MIT
Repository
github
Last release
5 months ago

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

Credits

These definitions were written by Serhiy Zhelizniak.

0.9.6

5 months ago

0.9.4

7 months ago

0.9.3

8 months ago

0.9.5

6 months ago

0.9.2

3 years ago

0.9.1

4 years ago

0.9.0

4 years ago