0.0.4 • Published 5 years ago
@politico/interactive-style-material v0.0.4
@politico/module_material
Components to add a POLITICO flare to Material UI.
Quick Start
Installation:
$ yarn add https://github.com/The-Politico/module_materialImport 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_materialInstall dependencies:
$ yarnStart development server:
$ yarn startBuild assets:
$ yarn buildPublish:
$ git commit -m 'build message'.
$ git push origin master©2019 POLITICO