mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +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 {
|
||||
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;
|
||||
}
|
||||
Reference in new issue
Block a user