React Native Animation Buttons
Animated button in React Native. It can be used to get many buttons from a single button.
First install gitpkg
:
npm i animated-buttons
or
yarn add animated-buttons
You can use the animated-buttons in your app:
All props are optional
<AnimatedButtons
mainButtonColor="blue" // default value red
iconColor="yellow" // default value white
right={30} // default value 24
bottom={30} // default value 24
buttonList={[
{
color: '#9b59b6', // default value red
onPress: () => console.log('1'),
},
{
text: 'Button 2', // default value empty
onPress: () => console.log('2'),
}
]}
/>