@politico/interactive-style-elections
Component library for election pages.
Quick Start
Installation:
$ yarn add https://github.com/The-Politico/politico-interactive-style-elections
Import only what you need:
import { Logo } from '@politico/interactive-style-elections';
Use it in your component:
import React from 'react';
const MyComponent = () => (
<Logo />
);
export default MyComponent;
Development
Clone Repo:
$ git clone https://github.com/The-Politico/politico-interactive-style-elections
Install dependencies:
$ yarn
Start development server:
$ yarn start
Build assets:
$ yarn build