Skip to content

Commit eb66085

Browse files
committed
test(react/slot): replace deprecated 'ElementRef' with 'ComponentRef'
1 parent 7e2adc6 commit eb66085

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
@@ -193,7 +193,7 @@ const Button = React.forwardRef<
193193
});
194194

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

0 commit comments

Comments
 (0)