<script lang="ts">
import { ListItem } from '@geoffcox/sterling-svelte';
</script>
<ListItem value="item-1">sterling-svelte
</ListItem>
| Property Name | Type | Default | Comment | |
|---|---|---|---|---|
| disabled | string | false | When true, the item is disabled | |
| value | string | '' | The value uniquely identifying this item within the list | |
| variant | string | '' | Additional class names to apply |
<div class="sterling-list-item">
<slot {disabled} {horizontal} {selected} {value} {variant}>{value}</slot>
</div>