@sikt/sds-section
v3.0.1
Published
## Consume
Downloads
466
Readme
@sikt/sds-section
Consume
npm i -s @sikt/sds-section
React
import { Section } from "@sikt/sds-section";
import "@sikt/sds-section/dist/index.css";
import "@sikt/sds-button/dist/index.css";
<Section
headingLevel="h2"
headingText="Header"
linkHref="www.internet.com"
linkLabel="Clickable label"
/>;
Stylesheets & custom markup
Import stylesheet:
@import url("@sikt/sds-section");
@import url("@sikt/sds-button");
Create custom markup:
<div class="sds-section">...</div>