carbon-design-system / carbon-components-svelte

Svelte implementation of the Carbon Design System
https://svelte.carbondesignsystem.com
Apache License 2.0
2.71k stars 261 forks source link

feat(recursive-list): integrate `RecursiveList` with v11 #1960

Closed metonym closed 6 months ago

metonym commented 6 months ago

No breaking changes.

Features

<script lang="ts">
  import { RecursiveList } from "carbon-components-svelte";

  const children = [
    ...
  ] as const;
</script>

<RecursiveList type="ordered" children="{children}" />