0.1.28 • Published 1 year ago

react-native-animated-floating-button v0.1.28

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-animated-floating-button

animated button

animated button example

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

NameDescriptionTypeDefault Value
imagesarray of images, how many button of images open when onMenuClickarrayrequired
menuImagemain image iconimagerequired
onMenuClickretrun menu is open or not()=>Noderequired
onIconClickretrun icon index when you click on item()=>Noderequired
0.1.28

1 year ago

0.1.27

1 year ago

0.1.26

1 year ago

0.1.25

1 year ago

0.1.24

1 year ago

0.1.23

1 year ago

0.1.22

1 year ago

0.1.21

1 year ago

0.1.20

1 year ago

0.1.19

1 year ago

0.1.18

1 year ago

0.1.17

1 year ago

0.1.16

1 year ago

0.1.15

1 year ago

0.1.14

1 year ago

0.1.13

1 year ago

0.1.12

1 year ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago