1.0.7 • Published 5 months ago

@miidx/rn-floating-button v1.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
5 months ago

rn-floating-button

Usage

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

Properties

NameDescriptionTypeRequiredDefault value
iconNameIcon name from react-native-vector-icons/MaterialCommunityIconsstringplus
onPressCallback when the component is pressedfunctionyes
rightSpacing from right screen edgenumber10
bottomSpacing from bottom screen edgenumberif iphoneX 80, otherwise 40
buttonColorColor of the buttonstring#00f
iconColorColor of the button iconstring#fff
1.0.7

5 months ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago