1.1.13 • Published 8 months ago

staf-komponentbibliotek-svelte v1.1.13

Weekly downloads
-
License
-
Repository
github
Last release
8 months ago

Statsforvalterens komponentbibliotek for svelte

Dette bibliotek er en fork av Sveltestrap hvor vi lagt vår egen stil oppå og modifisert / lagt til komponenter.


Installere komponentbibliotek

npm install --save svelte @statsforvalteren/staf-komponentbibliotek-svelte

Importere deretter komponentene du ønsker å bruke i din svelte komponent.

<script lang="ts">
import { Card, CardBody } from 'staf-komponentbibliotek-svelte';
  const cardProps = {
    title: "This is a title",
    displayImg: true,
    imgSrc: "https://via.placeholder.com/400x200/EDF1F8/00244E?text=Bilde/Illustrasjon"
  }
</script>

<Card>
  <CardBody {...cardProps}>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</CardBody>
</Card>
1.1.13

8 months ago

1.1.12

8 months ago

1.1.10

8 months ago

1.1.9

8 months ago

1.1.8

8 months ago

1.1.7

8 months ago

1.1.6

8 months ago

1.1.5

8 months ago

1.1.4

8 months ago

1.0.0

2 years ago