Skip to content

Commit 7930401

Browse files
authored
test(react/slot): replace deprecated 'ElementRef' with 'ComponentRef' (#3541)
1 parent 5d6b584 commit 7930401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/slot/src/slot.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ const Button = React.forwardRef<
195195
});
196196

197197
const Input = React.forwardRef<
198-
React.ElementRef<'input'>,
198+
React.ComponentRef<'input'>,
199199
React.ComponentProps<'input'> & {
200200
asChild?: boolean;
201201
}

0 commit comments

Comments
 (0)