0.0.3 • Published 4 years ago

react-native-circle-svg-timer v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

react-native-circle-svg-timer

Circular Timer component for React Native based on react-native-svg

Example

image

Getting Started

Installation

npm i react-native-circle-svg-timer --save

Props

parametertyperequireddescriptiondefault
durationnumbernoTime in seconds15
radiusnumbernoRadius of the circle30
strokeWidthnumbernoThe border width of the circle10
strokeColorstringnoThe color of the filler border"lightblue"
fillColorstringnoThe background color of circle"transparent"
strokeBgColorstringnoThe color of the border's background"grey"

Basic Usage

import CircularTimer from 'react-native-circular-timer';

export const Example = props => {
  return <CircularTimer />;
};