0.1.28 • Published 3 years ago
react-native-animated-floating-button v0.1.28
react-native-animated-floating-button
animated button
Installation
npm install react-native-animated-floating-button
Usage
import { AnimatedFloatingButton } from 'react-native-animated-floating-button'
// ...
let images = [
{ image: require('./assets/images/Pin.png') },
{ image: require('./assets/images/Love.png') }
]
<AnimatedFloatingButton
onMenuClick={(res) => {
console.log(res)
}}
onIconClick={(res) => {
console.log(res)
}}
menuImage={require('./assets/images/Plus.png')}
iconColors={'lightpink'}
style={{ backgroundColor: 'lightpink' }}
images={images}
/>
Properties
Name | Description | Type | Default Value |
---|---|---|---|
images | array of images, how many button of images open when onMenuClick | array | required |
menuImage | main image icon | image | required |
onMenuClick | retrun menu is open or not | ()=>Node | required |
onIconClick | retrun icon index when you click on item | ()=>Node | required |
0.1.28
3 years ago
0.1.27
3 years ago
0.1.26
3 years ago
0.1.25
3 years ago
0.1.24
3 years ago
0.1.23
3 years ago
0.1.22
3 years ago
0.1.21
3 years ago
0.1.20
3 years ago
0.1.19
3 years ago
0.1.18
3 years ago
0.1.17
3 years ago
0.1.16
3 years ago
0.1.15
3 years ago
0.1.14
3 years ago
0.1.13
3 years ago
0.1.12
3 years ago
0.1.11
3 years ago
0.1.10
3 years ago
0.1.9
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago