From 4b38f741c09b67f05c7d1666a619d3f47c298243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tammerg=C3=A5rd?= Date: Mon, 20 Nov 2023 09:14:09 +0100 Subject: [PATCH] fix(Sheets): expose all dialog content props --- .changeset/great-forks-kiss.md | 5 +++++ packages/einride-ui/src/components/views/Sheets/Sheets.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/great-forks-kiss.md diff --git a/.changeset/great-forks-kiss.md b/.changeset/great-forks-kiss.md new file mode 100644 index 000000000..1c1d81e4d --- /dev/null +++ b/.changeset/great-forks-kiss.md @@ -0,0 +1,5 @@ +--- +"@einride/ui": patch +--- + +Expose all dialog content props. diff --git a/packages/einride-ui/src/components/views/Sheets/Sheets.tsx b/packages/einride-ui/src/components/views/Sheets/Sheets.tsx index 5e011fd58..083f61bef 100644 --- a/packages/einride-ui/src/components/views/Sheets/Sheets.tsx +++ b/packages/einride-ui/src/components/views/Sheets/Sheets.tsx @@ -17,7 +17,7 @@ import { export interface SheetsProps extends Omit< - ComponentPropsWithoutRef<"div">, + ComponentPropsWithoutRef, "onAnimationStart" | "onDrag" | "onDragEnd" | "onDragStart" | "style" | "title" >, DialogStyles {