/ Button

Press animation higher order component for React Native

Press animation higher order component for React Native

react-native-withPressAnimation

A higher order component which provides onPress animation for React Native component.

Props which will be received from the component

  • onPress
  • disabled

Usage

import withPressAnimation from './path/to/file';

const Button = props => (
  ...
)

export default withPressAnimation(Button);

GitHub