carbon-components-svelte/tests/ProgressBar.test.svelte
Eric Liu ae27bedf4c
RecursiveList (#717)
* feat(recursive-list): add RecursiveList

* feat(recursive-list): rename items prop to children

* docs(recursive-list): add full examples

* test(recursive-list): add types test

* refactor(recursive-list): remove superfluous nested prop

* docs(recursive-list): update docs

* fix(recursive-list): remove nested prop from type test

* fix(recursive-list): explicitly type restProps
2021-07-05 08:43:48 -07:00

25 lines
411 B
Svelte

<script lang="ts">
import { ProgressBar } from "../types";
</script>
<ProgressBar helperText="Loading..." />
<ProgressBar
value="{40}"
labelText="Upload status"
helperText="40 MB of 100 MB"
/>
<ProgressBar
value="{40}"
max="{200}"
labelText="Upload status"
helperText="40 MB of 100 MB"
/>
<ProgressBar
hideLabel
value="{40}"
labelText="Upload status"
helperText="40 MB of 100 MB"
/>