amis-rpc-design/node_modules/antd/lib/app/index.d.ts
2023-10-07 19:42:30 +08:00

16 lines
440 B
TypeScript

import type { ReactNode } from 'react';
import React from 'react';
import type { AppConfig, useAppProps } from './context';
export interface AppProps extends AppConfig {
style?: React.CSSProperties;
className?: string;
rootClassName?: string;
prefixCls?: string;
children?: ReactNode;
}
declare const useApp: () => useAppProps;
declare const App: React.FC<AppProps> & {
useApp: typeof useApp;
};
export default App;