PromoCursed/node_modules/antd/lib/app/index.d.ts

17 lines
527 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import type { ReactNode } from 'react';
import React from 'react';
import type { AnyObject, CustomComponent } from '../_util/type';
import type { AppConfig, useAppProps } from './context';
export interface AppProps<P = AnyObject> extends AppConfig {
style?: React.CSSProperties;
className?: string;
rootClassName?: string;
prefixCls?: string;
children?: ReactNode;
component?: CustomComponent<P> | false;
}
declare const App: React.FC<AppProps> & {
useApp: () => useAppProps;
};
export default App;