<script lang="ts"> import { TreeChevron } from '@geoffcox/sterling-svelte'; </script> <TreeChevron hasChildren />
Property Name | Type | Default | Comment | |
---|---|---|---|---|
expanded | boolean | false | When true, the chevron indicates the item is expanded. | |
hasChildren | boolean | false | When false, the chevron indicates the item is a leaf. | |
variant | string | '' | Additional class names to apply |
<div class="sterling-tree-chevron"/>