Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
react-native-fab
Advanced tools
A FAB button component for Android and iOS, customizable, simple and as per material design specs.
Weekly downloads
Readme
A FAB button component for Android and iOS, customizable, simple and as per material design specs.
See Google Material Design for more info on FABs.
npm install --save react-native-fab
import FAB from 'react-native-fab'
<FAB buttonColor="red" iconTextColor="#FFFFFF" onClickAction={() => {console.log("FAB pressed")}} visible={true} iconTextComponent={<Icon name="all-out"/>} />
Prop | Type | Effect | Default Value |
---|---|---|---|
visible | boolean | Show or hide the FAB | true |
buttonColor | string | The color of FAB | red |
onClickAction | function | Function to be called when button is pressed | ()=>{} |
iconTextColor | color | The color of icon of FAB | #FFFFFF |
iconTextComponent | component | Text component or any other component based on it, works great with Icon from react-native-vector-icons | <Text>+</Text> |
snackOffset | number | The amount by which to move up the FAB to accomodate snackbar | 0 |
FAQs
A FAB button component for Android and iOS, customizable, simple and as per material design specs.
The npm package react-native-fab receives a total of 204 weekly downloads. As such, react-native-fab popularity was classified as not popular.
We found that react-native-fab demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.