1 | import type { ReactNode } from 'react';
|
2 | import React from 'react';
|
3 | import type { AnyObject, CustomComponent } from '../_util/type';
|
4 | import type { AppConfig, useAppProps } from './context';
|
5 | export interface AppProps<P = AnyObject> extends AppConfig {
|
6 | style?: React.CSSProperties;
|
7 | className?: string;
|
8 | rootClassName?: string;
|
9 | prefixCls?: string;
|
10 | children?: ReactNode;
|
11 | component?: CustomComponent<P> | false;
|
12 | }
|
13 | declare const App: React.FC<AppProps> & {
|
14 | useApp: () => useAppProps;
|
15 | };
|
16 | export default App;
|