Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 898 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 898 Bytes

@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

Endring for å teste workflow, enda en gang