mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
refactor(progress-indicator): make currentIndex reactive, add preventChangeOnClick
This commit is contained in:
parent
350aad83e0
commit
4113ae95da
6 changed files with 134 additions and 74 deletions
6
types/index.d.ts
vendored
6
types/index.d.ts
vendored
|
@ -3225,6 +3225,12 @@ export class ProgressIndicator extends CarbonSvelteComponent {
|
|||
* @default false
|
||||
*/
|
||||
spaceEqually?: boolean;
|
||||
|
||||
/**
|
||||
* Set to `true` to prevent updating `currentIndex`
|
||||
* @default false
|
||||
*/
|
||||
preventChangeOnClick?: boolean;
|
||||
};
|
||||
|
||||
$$slot_def: { default: {} };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue