mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-22 11:39:05 +08:00
16 lines
280 B
TypeScript
16 lines
280 B
TypeScript
import type { AppProps } from './App';
|
|
import App_ from './App';
|
|
import useApp from './useApp';
|
|
|
|
export type { AppProps };
|
|
|
|
type CompoundedComponent = typeof App_ & {
|
|
useApp: typeof useApp;
|
|
};
|
|
|
|
const App = App_ as CompoundedComponent;
|
|
|
|
App.useApp = useApp;
|
|
|
|
export default App;
|