@types/react-native-material-ripple
TypeScript icon, indicating that this package has built-in type declarations

0.9.6 • Public • Published

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

import * as React from "react";
import { Animated, TouchableWithoutFeedback, 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-native-material-ripple

Weekly Downloads

1,520

Version

0.9.6

License

MIT

Unpacked Size

4.51 kB

Total Files

5

Last publish

Collaborators

  • types