mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-22 03:22:31 +08:00
9 lines
199 B
TypeScript
9 lines
199 B
TypeScript
import React from 'react';
|
|
|
|
import type { useAppProps } from './context';
|
|
import AppContext from './context';
|
|
|
|
const useApp = () => React.useContext<useAppProps>(AppContext);
|
|
|
|
export default useApp;
|