feat(contained-list): add ContainedList, ContainedListItem (#1971)

This commit is contained in:
Eric Liu 2024-05-08 09:14:36 -07:00 committed by GitHub
commit b6df277647
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 484 additions and 2 deletions

View file

@ -0,0 +1,9 @@
<script lang="ts">
import { ContainedList, ContainedListItem } from "../types";
</script>
<ContainedList labelText="Title" kind="on-page">
<div slot="labelText">Title</div>
<ContainedListItem interactive disabled on:click>Item 1</ContainedListItem>
<svelte:fragment slot="action" />
</ContainedList>