0.2.1 • Published 7 years ago

react-native-bounceable v0.2.1

Weekly downloads
26
License
MIT
Repository
github
Last release
7 years ago

Installation

To install:

npm install --save react-native-bounceable

Props

  • level: number The maximum scale of the bounce animation (default: 1.1)
  • onPress: function An optional function to be called after a press

Example

import Bounceable from "react-native-bouceable";

render() {
  return <Bounceable
            onPress={()=>console.log("Pressed!")}
            level={1.1}>
            <View
              style={{
                width: 100,
                padding:8
              }}>
              <Text>Click Me!</Text>
            </View>
  </Bounceable>
}
0.2.1

7 years ago

0.2.0

7 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago