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 {
children: any;
style?: any;
backdrop?: any;
onClickBackdrop?: any;
children?: JSX.Element | JSX.Element[];
style?: CSSProperties;
backdrop?: boolean;
onClickBackdrop?: (...args: any[]) => void;
}
export interface AppWrapperTypes {
id?: string;
children: any;
style?: any;
handleClickAway?: any;
children?: JSX.Element | JSX.Element[];
style?: CSSProperties;
handleClickAway?: (...args: any[]) => void;
}