Skip to content

Commit 82eb8aa

Browse files
fix(components): add modal to the drawer types (#141)
* Add modal to the types * chore(components): add changeset file Co-authored-by: Rich Bachman <rb@richbachman.com>
1 parent f4e3759 commit 82eb8aa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/short-goats-buy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trueplan/forecast-components": patch
3+
---
4+
5+
[Drawer]: add `modal` prop to drawer types.

packages/components/src/components/drawer/src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export interface DrawerProps {
44
children: React.ReactNode;
55
defaultOpen?: boolean;
66
open?: boolean;
7+
modal?: boolean;
78
onOpenChange?: (open: boolean) => void;
89
id?: string;
910
}

0 commit comments

Comments
 (0)