carbon-components-svelte/tests/ProgressBar.test.svelte
Eric Liu fb5c7553ac
Align v10.37 (#697)
* chore(deps-dev): upgrade carbon-components to v10.27.1

* fix(toolbar-search): omit size prop

* feat(progress-bar): add ProgressBar

* refactor(text-input): use class directive

* chore(deps-dev): rebuild yarn.lock

* fix(notification): omit iconDescription from NotificationIcon #672

Fixes #672
2021-06-26 16:45:37 -07:00

25 lines
401 B
Svelte

<script>
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"
/>