|
|
|
@ -1,5 +1,4 @@ |
|
|
|
import React, { useEffect } from 'react'; |
|
|
|
import { TabPaneProps } from 'antd/es/tabs'; |
|
|
|
import { Tabs } from 'antd'; |
|
|
|
import LoginContext, { LoginContextProps } from './LoginContext'; |
|
|
|
|
|
|
|
@ -13,6 +12,8 @@ const generateId = (() => { |
|
|
|
}; |
|
|
|
})(); |
|
|
|
|
|
|
|
type TabPaneProps = Parameters<typeof Tabs.TabPane>[0]; |
|
|
|
|
|
|
|
interface LoginTabProps extends TabPaneProps { |
|
|
|
tabUtil: LoginContextProps['tabUtil']; |
|
|
|
active?: boolean; |
|
|
|
|