Add scroll controller

This commit is contained in:
2023-09-08 17:45:37 +08:00
parent 2c09a914ca
commit feebd963a8
7 changed files with 147 additions and 18 deletions

View File

@@ -26,7 +26,7 @@ export default defineConfig({
'react-router',
'react-router-dom',
{
react: ['Suspense'],
react: ['Suspense', 'createContext'],
'react-router': ['useMatches', 'RouterProvider'],
'react-router-dom': ['createBrowserRouter'],
antd: ['message']
@@ -38,7 +38,7 @@ export default defineConfig({
},
{
from: 'react',
imports: ['PropsWithChildren'],
imports: ['PropsWithChildren', 'RefObject'],
type: true
}
],