Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit b937e75

Browse files
committed
chore: fix modal component types
1 parent 92985fe commit b937e75

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/c-modal/src/c-drawer.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ const [
6363
useDrawerContext,
6464
] = createContext<CDrawerContext>()
6565

66-
export const CDrawer: ComponentWithProps<
67-
DeepPartial<DrawerProps>
68-
> = defineComponent({
66+
export const CDrawer: ComponentWithProps<DrawerProps> = defineComponent({
6967
name: 'CDrawer',
7068
props: {
7169
...modalProps,
@@ -114,9 +112,7 @@ export const CDrawer: ComponentWithProps<
114112

115113
export interface DrawerContentProps extends HTMLChakraProps<'section'> {}
116114

117-
export const CDrawerContent: ComponentWithProps<
118-
DeepPartial<DrawerContentProps>
119-
> = defineComponent({
115+
export const CDrawerContent: ComponentWithProps<DrawerContentProps> = defineComponent({
120116
name: 'CDrawerContent',
121117
inheritAttrs: false,
122118
emits: ['click', 'mousedown', 'keydown'],

0 commit comments

Comments
 (0)