Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nowtv-player-toolkit

nowtv14ISC1.0.6

NowTV Player Toolkit

readme

NowTV Player Toolkit

NowTV Player Toolkit containing CSS and React components

Installation

npm install nowtv-player-toolkit --save

Usage

We will improve the usage of the library, but for now you can use it like this:

  <link rel="stylesheet" href="...../nowtv-player-toolkit/dist/styleguide.css" />
  import { Toolkit } from 'nowtv-player-toolkit';
  const { Header, Footer } = Toolkit;

  ...
  return (
        <div>
            <Header isMouseMoving={isMouseMoving} />
            <Footer isMouseMoving={isMouseMoving} /> 
        </div>
    );

CDN

We are not using CDN for now, but this will come in a future iteration.