@miljodirektoratet/md-css v1.1.3
@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
1 month ago
1 month ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
10 months ago
7 months ago
7 months ago
11 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago