![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@paraboly/react-native-switch-fab
Advanced tools
Animated & Fully Customizable Switch Floating Action Button for React Native by Paraboly
Add the dependency:
npm i @paraboly/react-native-switch-fab
"react": ">= 16.x.x",
"react-native": ">= 0.55.x",
"react-native-androw": ">= 0.0.34",
"react-native-dynamic-vector-icons": ">= 0.2.1",
"react-native-material-ripple": ">= 0.9.1",
"react-native-vector-icons": ">= 6.6.0"
import SwitchFab from "@paraboly/react-native-switch-fab";
<SwitchFab />
Check the example for the multiple & advanced usage
<SwitchFab
name="atom"
type="Fontisto"
rippleColor="transparent"
activeBGColor="#00B1D2FF"
inactiveBGColor="#FDDB27FF"
/>
Property | Type | Default | Description |
---|---|---|---|
width | string/number | 50 | change the width of the button |
height | string/number | 50 | change the height of the button |
borderRadius | number | 25 | change the border radius of the button |
IconComponent | Icon Component | Icon (from react-native-dynamic-vector-icons) | set your own Icon component it can be your own MyIcon component or react-native-vector-icons or anything |
isActive | boolean | false | set the default active button |
onPress | function | undefined | set your own logic for onPress it has callback for (isActive) |
animationDuration | number | 750 | change the animation duration for background color transition |
shadowColor | color | #757575 | change the button's shadow color |
activeBGColor | color | #757575 | change the button's active background color |
inactiveBGColor | color | #fdfdfd | change the button's inactive background color |
activeIconColor | color | #757575 | change the button's active icon color |
inactiveIconColor | color | #fdfdfd | change the button's inactive icon color |
animationDuration | number | 750 | change the animation duration for background color transition |
animationDuration | number | 750 | change the animation duration for background color transition |
FreakyCoder, kurayogun@gmail.com
React Native SwitchFab by Paraboly is available under the MIT license. See the LICENSE file for more info.
FAQs
Animated & Fully Customizable Switch Floating Action Button for React Native by Paraboly
The npm package @paraboly/react-native-switch-fab receives a total of 1 weekly downloads. As such, @paraboly/react-native-switch-fab popularity was classified as not popular.
We found that @paraboly/react-native-switch-fab demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.