App.d.ts 477 B

1234567891011121314
  1. import type { ReactNode } from 'react';
  2. import React from 'react';
  3. import type { AnyObject, CustomComponent } from '../_util/type';
  4. import type { AppConfig } 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. export default App;