@sikt/sds-list
v2.1.1
Published
## Consume
Downloads
481
Readme
@sikt/sds-list
Consume
npm i -s @sikt/sds-list
React
import { UnorderedList, ListItem } from "@sikt/sds-list";
import "@sikt/sds-list/dist/index.css";
<UnorderedList>
<ListItem>Hello, World!</ListItem>
</UnorderedList>;
Stylesheets & custom markup
Import stylesheet:
@import url("@sikt/sds-list");
Create custom markup:
<ul class="sds-list">
<li class="sds-list__item">Hello, World!</li>
</ul>