
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
react-native-circle-timer
Advanced tools
The React Native Native iOS and Android Circle timer or countdown timer which renders the Circular countdown timer with user specific time and colors. This renders the timer with Hours & Minutes within it
See Example.js for example
npm install --save react-native-circle-timer
This shows the default properties.
Property | Type | Default | Required | Description |
---|---|---|---|---|
radius | number | 40 | YES | To change the radius of timer |
seconds | number | 60 | YES | Set the timer in seconds |
borderWidth | number | 10 | NO | Border witdth of the timer |
showSecond | bool | false | NO | Render Elapsed time when set to TRUE |
borderColor | string | #0E3657 | NO | Set the border color of the timer |
textStyle | style | null | NO | Render the elapsed time with user cutomization |
style | style | null | NO | Render the timer with user cutomization |
circleColor | string | #FFFFFF | NO | Change the color of timer circle |
borderBackgroundColor | string | #A8C3BC | NO | Color of the left time in Timer |
onTimeElapsed | funtion | null | NO | Called when the timer is finished |
import React, { View } from 'react-native';
import CircleTimer from 'react-native-circle-timer';
class ComponentClass extends React.Component {
constructor(props) {
super();
}
render() {
return (
<View
style={{backgroundColor: "#06566e", justifyContent: 'center', alignItems: 'center', flex: 1}}>
<CircleTimer
radius={80}
borderWidth={10}
seconds={1800}
borderColor={'#F5F5F5'}
borderBackgroundColor={"#FF0000"}
onTimeElapsed={() => {
console.log('Timer Finished!');
}}
showSecond={true}
/>
</View>
)
}
}
FAQs
A react native component to render Count Down timer
We found that react-native-circle-timer 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.