@sikt/sds-button
v4.0.1
Published
## Consume
Downloads
3,576
Readme
@sikt/sds-button
Consume
npm i -s @sikt/sds-button
React
import { Button } from "@sikt/sds-button";
import "@sikt/sds-button/dist/index.css";
<Button>Hello, World!</Button>;
Stylesheets & custom markup
Import stylesheet:
@import url("@sikt/sds-button");
Create custom markup:
<button class="sds-button sds-button--primary">
<span class="sds-button__label">Hello, World!</span>
</button>