Socket
Socket
Sign inDemoInstall

@miidx/rn-floating-button

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@miidx/rn-floating-button

Simple floating button for React Native


Version published
Maintainers
1
Weekly downloads
10
decreased by-67.74%

Weekly downloads

Readme

Source

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

FAQs

Last updated on 04 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc