
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
react-native-av-countdown-circle
Advanced tools
A light-weight countdown circle indicator for React Native.
react-native
Animated
libraryyarn add react-native-countdown-circle
or
npm install --save react-native-countdown-circle
import CountdownCircle from 'react-native-countdown-circle'
render() {
return (
<CountdownCircle
seconds={10}
radius={30}
borderWidth={8}
color="#ff003f"
bgColor="#fff"
textStyle={{ fontSize: 20 }}
onTimeElapsed={() => console.log('Elapsed!')}
/>
)
}
Name | Description | Type | Required | Default Value |
---|---|---|---|---|
seconds | The seconds to count down from | Number | ✓ | |
radius | The radius in px of the component (including border) | Number | ✓ | |
borderWidth | The border width in px | Number | ✓ | |
color | The border color | String | '#f00' | |
shadowColor | The background color of the border | String | '#999' | |
bgColor | The inner background color of the component | String | '#e9e9ef' | |
containerStyle | The custom styling which will be applied to the container of the Text component | Style | null | |
textStyle | The custom styling which will be applied to the Text component | Style | null | |
updateText | A function used to display a different text inside this component. Is called after every second, with the number of elapsed seconds, and the total seconds | func | (elapsedSecs, totalSecs) => (totalSecs - elapsedSecs).toString() | |
onTimeElapsed | A function being called when the countdown is over | func | () => null |
MIT
FAQs
A light-weight countdown circle indicator for React Native.
The npm package react-native-av-countdown-circle receives a total of 0 weekly downloads. As such, react-native-av-countdown-circle popularity was classified as not popular.
We found that react-native-av-countdown-circle 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.