mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
enhance(phone/types): Improved types for AppWrapper & AppContent
This commit is contained in:
1 parent
8a2f281790
commit
2c06579182
1 file changed
+9
-7
@@ -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;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user