Skip to content

miidx/rn-floating-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rn-floating-button

Usage

    <FloatingButton
        iconName="share"
        onPress={somefunction}
        right={10}
        bottom={40}
        buttonColor="#00f"
        iconColor="#fff"
    />

Properties

Name Description Type Required Default value
iconName Icon name from react-native-vector-icons/MaterialCommunityIcons string plus
onPress Callback when the component is pressed function yes
right Spacing from right screen edge number 10
bottom Spacing from bottom screen edge number if iphoneX 80, otherwise 40
buttonColor Color of the button string #00f
iconColor Color of the button icon string #fff

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages