@react-native-turkiye/animated-button
v1.1.0
Published
React native is prepared for easy button creation. No button limitation. Just enough to fit the screen.
Maintainers
Readme
React Native Turkiye Animated Button
Animated button in React Native. It can be used to get many buttons from a single button.
npm i @react-native-turkiye/animated-buttonor
yarn add @react-native-turkiye/animated-buttonYou can use the animated-buttons in your app. All props are optional
<AnimatedButton
spin // defaul value false
mainButtonColor="blue" // default value red
iconColor="yellow" // default value white
right={30} // default value 24
bottom={30} // default value 24
buttonList={[
{
text: 'Button 1', // default value empty
backgroundColor: '#9b59b6', // default value red
icon: <Icon />,
textContainerStyle: { backgroundColor: '#fff' },
onPress: () => console.log('1'),
},
{
text: 'Button 2',
onPress: () => console.log('2'),
}
]}
/>