@muraldevkit/ui-toolkit 2.85.1 → 2.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,6 +3,8 @@ import { DSIconType } from '../../';
|
|
|
3
3
|
interface MrlSidebarNavItemProps {
|
|
4
4
|
/** Additional class to add to the li element */
|
|
5
5
|
className?: string;
|
|
6
|
+
/** A string value used for data-qa attribute. */
|
|
7
|
+
['data-qa']?: string;
|
|
6
8
|
/** Leading icon of the sidebar nav item */
|
|
7
9
|
icon?: DSIconType;
|
|
8
10
|
/** Sets the selected state for the sidebar nav item */
|
|
@@ -27,5 +29,5 @@ interface MrlSidebarNavItemProps {
|
|
|
27
29
|
* @param {MrlSidebarNavItemProps} props - the component props
|
|
28
30
|
* @returns a sidebar nav item
|
|
29
31
|
*/
|
|
30
|
-
export declare function MrlSidebarNavItem({ className, icon, isSelected, text, renderLink }: MrlSidebarNavItemProps): JSX.Element;
|
|
32
|
+
export declare function MrlSidebarNavItem({ className, ['data-qa']: qa, icon, isSelected, text, renderLink }: MrlSidebarNavItemProps): JSX.Element;
|
|
31
33
|
export {};
|