@miljodirektoratet/md-css

3.5.0 • Public • Published

@miljodirektoratet/md-css

To start using the stylesheets:

npm install @miljodirektoratet/md-css

Then import the CSS, for example from JavaScript:

import { MdButton } from '@miljodirektoratet/md-react';
import '@miljodirektoratet/md-css';

const MyComponent = () => {
  return <MdButton>Example</MdButton>;
};

For more documentation, please refer to the Storybook

For HTML structure for each component, see the README.md for each css-file, located in /src, or the Docs-section in the Storybook for each component. This must be followed if stylesheets are used as standalone, without React components.

For React components, see @miljodirektoratet/md-react

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @miljodirektoratet/md-css

      Weekly Downloads

      55

      Version

      3.5.0

      License

      MIT

      Unpacked Size

      101 kB

      Total Files

      60

      Last publish

      Collaborators

      • jaanesen
      • phbeal
      • olahp
      • crolsson