moller-common-react-components

2.10.11 • Public • Published

moller-common-react-components

Common React components with associated styling.

  • in project root, run npm i -D moller-common-react-components
  • in project root component, import "moller-common-react-components/dist/style.css";
  • pick desired components, import { InputField, PrimaryButton, SecondaryButton } from "moller-common-react-components";

Conventions

  • Prefix all CSS classes with m-, i.e. m-button
  • Export components through /components/index.js
  • Include Sass files in /components/index.scss, don't import them inside the components

Readme

Keywords

none

Package Sidebar

Install

npm i moller-common-react-components

Weekly Downloads

1

Version

2.10.11

License

MIT

Last publish

Collaborators

  • dsg1337
  • j0nas