0.0.7 • Published 7 years ago

mda-components v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

mda-components

A library of reusable React components. Built with

Installation and Use

Run

yarn add mda-components

to add package mda-components to your dependencies.

You can import components like this

import { Header } from 'mda-components'

and and use them like any other component in your code.

Global CSS

You will likely need some global styles, e.g. a browser reset such as normalize.css or @font-face declarations. There are many ways to add global CSS and this library leaves it up to you to decide which global CSS you use and how to include it.

For a minimalistic reset, you can use injectGlobal from styled components:

import { injectGlobal } from 'styled-components'

injectGlobal`
  * { box-sizing: border-box; }
  body { margin: 0; }
`
0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago