yed-timer
v1.0.4
Published
Counts time
Downloads
10
Maintainers
Readme
yed-timer
React timer
Demo
Install
npm install --save yed-timer
Usage
import React from 'react'
import YedTimer from 'yed-timer'
import 'yed-timer/dist/index.css'
const App = () => {
return <YedTimer minute={40} second={15} />
}
export default App
Props
Props Name | Description | Default Value | Required | Value Type :---: | :----: | :---:| :---: | :---: minute | Minutes for timer | null | true | Number,String second|The title value of the tag input element | null | true | Number,String minuteText | Minute text | Dakika | false | String secondText | Second text | Saniye | false | String timeUpText | Text to show when the timer stops| Zaman Doldu. | false | String timerWidth | Timer Width | 100% | false | Number timerHeight | Timer Height | auto | false | Number resetText | Timer Reset Text | Sıfırla | false | String startText | Timer Start Text | Başlat | false | String stopText | Timer Stop Text | Durdur | false | String
License
MIT © YASIINN