We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35dbb82 commit 9a3b6b5Copy full SHA for 9a3b6b5
src/components/icon/icon.tsx
@@ -10,7 +10,7 @@ import { IconStandAlone } from './iconStandAlone';
10
import { IIcon } from './types';
11
12
const IconBasicComponent = (
13
- { tabIndex = 0, ...props }: IIcon,
+ { ...props }: IIcon,
14
ref: React.ForwardedRef<HTMLSpanElement>
15
): JSX.Element | null => {
16
const device = useMediaDevice();
@@ -36,7 +36,7 @@ const IconBasicComponent = (
36
data-testid={iconProps.dataTestId}
37
disabled={disabled}
38
id={props.id}
39
- tabIndex={tabIndex}
+ tabIndex={props.tabIndex}
40
title={props.title || ''}
41
type={ButtonType.BUTTON}
42
onClick={onClick}
0 commit comments