@miljodirektoratet/md-css

2.0.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

/@miljodirektoratet/md-css/

    Package Sidebar

    Install

    npm i @miljodirektoratet/md-css

    Weekly Downloads

    65

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    93.3 kB

    Total Files

    59

    Last publish

    Collaborators

    • jaanesen
    • phbeal
    • olahp
    • crolsson