enhance(phone/types): Improved types for AppWrapper & AppContent

This commit is contained in:
Taso committed 2021-01-18 12:08:16 -05:00
1 parent 8a2f281790
commit 2c06579182
1 file changed
+9 -7
+9 -7
View File
@@ -1,13 +1,15 @@
import { CSSProperties } from 'react';
export interface AppContentTypes { export interface AppContentTypes {
children: any; children?: JSX.Element | JSX.Element[];
style?: any; style?: CSSProperties;
backdrop?: any; backdrop?: boolean;
onClickBackdrop?: any; onClickBackdrop?: (...args: any[]) => void;
} }
export interface AppWrapperTypes { export interface AppWrapperTypes {
id?: string; id?: string;
children: any; children?: JSX.Element | JSX.Element[];
style?: any; style?: CSSProperties;
handleClickAway?: any; handleClickAway?: (...args: any[]) => void;
} }