0.0.1 • Published 6 years ago

react-native-fab-options v0.0.1

Weekly downloads
5
License
-
Repository
github
Last release
6 years ago

react-native-fab-options

FabOptions for React native for both android and ios

Installation:

Install the component through npm using:

npm install react-native-fab-options --save

Example:

import FabOptions from "react-native-fab-options";

<App
  invertedArc={false}
  slideIcons={false}
  buttonColor="red"
  iconLocation={{
    justifyContent: "center"
  }}
  userDisplay={{ alignItems: "center", justifyContent: "center" }}
  iconPadColor="red"
  iconLayerSize={350}
  iconClick={clicked => console.log("click....", clicked)}
/>;

Props:

* - mandatory

Props NameDescription
*iconLayerSizesize for the pad icon pad (default-350)
*iconClickcall back for the icons that has clicked
iconPadColorcolor applied to the icon pad
invertedArcboolean to set inverted arc (default-false)
slideIconsboolean to set slider pad (default-false)
buttonColorcolor applied to the button to display pad
iconLocationstyle for locating icons (justifyContent/alignItems)
userDisplayuser could style for the display pad