Refactor #4739 - For Steps & Fixed #4778 - Steps: new activeStep property

This commit is contained in:
tugcekucukoglu 2023-11-08 15:52:43 +03:00
parent ba8f58d1ac
commit ca572864cf
4 changed files with 52 additions and 44 deletions

View file

@ -141,9 +141,15 @@ export interface StepsProps {
readonly?: boolean | undefined;
/**
* Whether to apply 'router-link-active-exact' class if route exactly matches the item path.
* @deprecated since v3.40.0.
* @defaultValue true
*/
exact?: boolean | undefined;
/**
* Active step index of menuitem.
* @defaultValue 0
*/
activeStep?: number | undefined;
/**
* Used to pass attributes to DOM elements inside the component.
* @type {StepsPassThroughOptions}