@politico/interactive-style-material

0.0.4 • Public • Published

@politico/module_material

Components to add a POLITICO flare to Material UI.

Quick Start

Installation:

$ yarn add https://github.com/The-Politico/module_material

Import only what you need:

import { ThemeProvider } from '@politico/interactive-style-material';

Use it in your component:

import { ThemeProvider } from '@politico/interactive-style-material';
import Button from '@material-ui/core/Button';

const MyComponent = () => (
  <ThemeProvider>
    <Button color='primary'>Primary</Button>
    <Button color='secondary'>Secondary</Button>
  </ThemeProvider>
)

Development

Clone Repo:

$ git clone https://github.com/The-Politico/module_material

Install dependencies:

$ yarn

Start development server:

$ yarn start

Build assets:

$ yarn build

Publish:

$ git commit -m 'build message'.
$ git push origin master

©2019 POLITICO

Readme

Keywords

none

Package Sidebar

Install

npm i @politico/interactive-style-material

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

9.64 MB

Total Files

529

Last publish

Collaborators

  • dlazarenko-c-nitka
  • caitlinfloyd
  • tcrite_pol
  • ewalters-politico
  • andmilligan
  • rbvea
  • mshushan-politico
  • kherbert
  • pfriedr
  • arm5077
  • wickidd
  • stilessl
  • guirreri
  • mazet
  • brizandrew
  • bzjin