docs(recursive-list): simplify copy

This commit is contained in:
Eric Y Liu 2021-07-07 04:42:55 -07:00
commit 28ac225255

View file

@ -3,7 +3,7 @@
import Preview from "../../components/Preview.svelte";
</script>
This component uses the [svelte:self API](https://svelte.dev/docs#svelte_self) to render the [UnorderedList](/components/UnorderedList) and [OrderedList](/components/OrderedList) components with data formatted as a tree structure. This is especially useful when the depth of the tree is unknown.
This component uses the [svelte:self API](https://svelte.dev/docs#svelte_self) to render the [UnorderedList](/components/UnorderedList) and [OrderedList](/components/OrderedList) components with tree structured data.
A child node can render text (`text`), a link (`href`), HTML content (`html`), and other `children`.