mastermoo / react-native-action-button

customizable multi-action-button component for react-native
MIT License
2.52k stars 570 forks source link

Custom styling of the ActionButton and ActionButtonItem #306

Open lucie-macikova opened 5 years ago

lucie-macikova commented 5 years ago

Hi, first of all, thanks for your work!

I wanted to ask why there's no way to style the buttons directly. In my case, the design dictates, for example, not round ActionButtonItems. That would be easily achievable if I was able to pass a style that would overwrite the width of the ActionButtonItem. But - since that is not possible, I guess there is a reason for it? Like that FAB is not supposed to look like that, maybe? Which I would agree with, but still have to implement it ...

Would it be possible to add that feature? If so, I am happy to create a pull request.

anshgupta1234 commented 5 years ago

Well, I just added the styles property... <ActionButton style={styles.buttonContainer} buttonColor='#6FCF97' useNativeFeedback={true}/>