yed-timer
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

yed-timer

React timer

NPM JavaScript Style Guide

Demo

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

Package Sidebar

Install

npm i yed-timer

Weekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

33.9 kB

Total Files

9

Last publish

Collaborators

  • yasindlklc