Skip to content

Commit e5f9ef1

Browse files
authored
feat: optimize type (#366)
1 parent f3bc14f commit e5f9ef1

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/IDialogPropTypes.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import type { GetContainer } from 'rc-util/lib/PortalWrapper';
22
import type { CSSProperties, ReactNode, SyntheticEvent } from 'react';
33

4-
54
export interface ModalClassNames {
6-
header: string;
7-
body: string;
8-
footer: string;
9-
mask: string;
10-
wrapper: string;
5+
header?: string;
6+
body?: string;
7+
footer?: string;
8+
mask?: string;
9+
wrapper?: string;
1110
}
1211

1312
export type IDialogPropTypes = {

0 commit comments

Comments
 (0)