react-time-provider

A configurable timer utility to pass time props to your components via Context API at a set interval.

Features

  • Start and Stop timer
  • set interval length

Install

yarn add @quiqupltd/react-time-provider

Project layout

    dist/                    # Transpiled files for distribution
    docs/
        index.md             # The documentation homepage.
        ...                  # Other markdown pages, images and other files.
    src/                     # Source files for editing
    .gitignore
    CHANGELOG.md
    CONTRIBUTING.md          # Contributor guidelines
    jest.setup.js            # Setup Jest
    LICENSE
    mkdocs.yml               # Config file for mkdocs
    package.json
    README.md
    rollup.config.js         # config for webpack
    yarn.lock