react-native-expandable-fab-menu
Getting started
$ npm install react-native-expandable-fab-menu --save
Props
closeIcon,openIcon = React Native Component (You Can Use Image Component or vector icon components or
anything you want, recommanded width and height are 32)
menuIcons = array of React Native Component recommanded width and height are 24 , maximum lenght is 4
menuItemClicked= function returned index is index of menuIcons array
Usage
;;; type Props = {};<Props> { return <View style=stylescontainer> <ExpandableFabMenu closeIcon= <Image style=alignSelf: 'center' width: 32 height: 32 source=/> openIcon= <Image style=alignSelf: 'center' width: 32 height: 32 source=/> menuIcons= <Image style=alignSelf: 'center' width: 24 height: 24 source=/> <Image style=alignSelf: 'center' width: 24 height: 24 source=/> <Image style=alignSelf: 'center' width: 24 height: 24 source=/> <Image style=alignSelf: 'center' width: 24 height: 24 source=/> menuItemClicked= console /> </View> ; } const styles = StyleSheet;