Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
react-native-material-ripple
Advanced tools
Base component for touchable elements
npm install --save react-native-material-ripple
import React, { Component } from 'react';
import { Text } from 'react-native';
import Ripple from 'react-native-material-ripple';
class Example extends Component {
render() {
return (
<Ripple>
<Text>touch me</Text>
</Ripple>
);
}
}
name | description | type | default |
---|---|---|---|
rippleColor | Ripple color | String | rgb(0, 0, 0) |
rippleOpacity | Ripple opacity | Number | 0.3 |
rippleDuration | Ripple duration in ms | Number | 400 |
rippleSize | Ripple size restriction | Number | 0 |
rippleContainerBorderRadius | Ripple container border radius | Number | 0 |
rippleCentered | Ripple always starts from center | Boolean | false |
rippleSequential | Ripple should start in sequence | Boolean | false |
rippleFades | Ripple fades out | Boolean | true |
disabled | Ripple should ignore touches | Boolean | false |
onPressIn | Touch moved in or started callback | Function | - |
onPressOut | Touch moved out or terminated callback | Function | - |
onPress | Touch up inside bounds callback | Function | - |
onLongPress | Touch delayed after onPressIn callback | Function | - |
onRippleAnimation | Animation start callback | Function | - |
Other TouchableWithoutFeedback properties will also work
git clone https://github.com/n4kz/react-native-material-ripple
cd react-native-material-ripple/example
npm install
react-native run-ios # or run-android
BSD License
Copyright 2017-2018 Alexander Nazarov. All rights reserved.
FAQs
Base component for touchable elements
The npm package react-native-material-ripple receives a total of 44,979 weekly downloads. As such, react-native-material-ripple popularity was classified as popular.
We found that react-native-material-ripple 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.