mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
Export id in ProgressBar, add UX animated progress bar example (#732)
* fix(progress-bar): export id prop #731 Fixes #731 * docs(progress-bar): add UX example
This commit is contained in:
parent
0aa52fe154
commit
2d47bcaf1f
6 changed files with 63 additions and 30 deletions
6
types/ProgressBar/ProgressBar.d.ts
vendored
6
types/ProgressBar/ProgressBar.d.ts
vendored
|
@ -31,6 +31,12 @@ export interface ProgressBarProps
|
|||
* @default ""
|
||||
*/
|
||||
helperText?: string;
|
||||
|
||||
/**
|
||||
* Set an id for the progress bar element
|
||||
* @default "ccs-" + Math.random().toString(36)
|
||||
*/
|
||||
id?: string;
|
||||
}
|
||||
|
||||
export default class ProgressBar extends SvelteComponentTyped<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue