mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 20:09:35 +00:00
feat(progress-bar): add ProgressBar
This commit is contained in:
parent
76b1d9ea17
commit
5fcecda4b4
11 changed files with 280 additions and 3 deletions
25
tests/ProgressBar.test.svelte
Normal file
25
tests/ProgressBar.test.svelte
Normal file
|
@ -0,0 +1,25 @@
|
|||
<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"
|
||||
/>
|
Loading…
Add table
Add a link
Reference in a new issue