From 78da52f21da924553cc0e8971c6b04aa37d623f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Gr=C3=A9lard?= Date: Mon, 25 Sep 2023 14:26:22 +0100 Subject: [PATCH] [ScrollArea] Fix types --- .yarn/versions/9471cb0c.yml | 5 +++++ packages/react/scroll-area/src/ScrollArea.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .yarn/versions/9471cb0c.yml diff --git a/.yarn/versions/9471cb0c.yml b/.yarn/versions/9471cb0c.yml new file mode 100644 index 0000000000..717fa8b6ed --- /dev/null +++ b/.yarn/versions/9471cb0c.yml @@ -0,0 +1,5 @@ +releases: + "@radix-ui/react-scroll-area": patch + +declined: + - primitives diff --git a/packages/react/scroll-area/src/ScrollArea.tsx b/packages/react/scroll-area/src/ScrollArea.tsx index ec4fddbbc4..237e595ec9 100644 --- a/packages/react/scroll-area/src/ScrollArea.tsx +++ b/packages/react/scroll-area/src/ScrollArea.tsx @@ -630,7 +630,7 @@ type ScrollAreaScrollbarImplPrivateProps = { onResize(): void; }; interface ScrollAreaScrollbarImplProps - extends PrimitiveDivProps, + extends Omit, ScrollAreaScrollbarImplPrivateProps {} const ScrollAreaScrollbarImpl = React.forwardRef<