1.2.3 • Published 7 years ago

w-breathing-guide v1.2.3

Weekly downloads
9
License
-
Repository
-
Last release
7 years ago

breathing guide

React component for making your own breathing style

demo

cycle

inhale -> hold -> exhale -> hold

api

nametypedefaultdescription
inhaleTimernumber0period of inhale (millisecond)
inhaleHoldTimernumber0period of holding breath after inhale (millisecond)
exhaleTimernumber0period of exhale (millisecond)
exhaleHoldTimernumber0period of holding breath after exhale (millisecond)

usage

import React, { Component } from 'react';
import BreathingGuide from 'w-breathing-guide';

class App extends Component {
 render() {
   return (
     <div className="App">
       <BreathingGuide
         inhaleTimer={4000}
         inhaleHoldTimer={4000}
         exhaleTimer={4000}
         exhaleHoldTimer={4000}
       />
     </div>
   );
 }
}

export default App;
1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago