File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-components/react-utilities/src/compose Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import * as React from 'react' ;
2
2
import { getNativeElementProps } from '../utils/getNativeElementProps' ;
3
3
import type { InferredElementRefType , UnknownSlotProps } from './types' ;
4
- import type { DistributiveOmit } from '../utils/types' ;
4
+ import type { DistributiveOmit , RefAttributes } from '../utils/types' ;
5
5
6
6
// eslint-disable-next-line @typescript-eslint/no-explicit-any
7
7
type HTMLAttributes = React . HTMLAttributes < any > ;
@@ -19,7 +19,7 @@ export const getIntrinsicElementProps = <
19
19
/** The slot's default element type (e.g. 'div') */
20
20
tagName : NonNullable < Props [ 'as' ] > ,
21
21
/** The component's props object */
22
- props : Props & React . RefAttributes < InferredElementRefType < Props > > ,
22
+ props : Props & RefAttributes < InferredElementRefType < Props > > ,
23
23
/** List of native props to exclude from the returned value */
24
24
excludedPropNames ?: ExcludedPropKeys [ ] ,
25
25
) => {
You can’t perform that action at this time.
0 commit comments