Skip to content

Commit 71c19e9

Browse files
committed
update types to use SvgIconOwnProps
1 parent 4b3aa99 commit 71c19e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/mui-material/src/StepIcon/StepIcon.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import * as React from 'react';
22
import { SxProps } from '@mui/system';
3-
import { InternalStandardProps as StandardProps, SvgIconProps } from '..';
3+
import { InternalStandardProps as StandardProps, SvgIconOwnProps } from '..';
44
import { Theme } from '../styles';
55
import { StepIconClasses } from './stepIconClasses';
66

77
export interface StepIconProps
8-
extends Omit<StandardProps<React.HTMLAttributes<SVGSVGElement>, 'color' | 'children'>, 'ref'>,
9-
Omit<SvgIconProps, 'children'> {
8+
extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'color' | 'children'>,
9+
Omit<SvgIconOwnProps, 'children'> {
1010
/**
1111
* Whether this step is active.
1212
* @default false

0 commit comments

Comments
 (0)