Browse Source

🐛 bug: fix table typescipt error

pull/6760/head
chenshuai2144 6 years ago
parent
commit
4e2d1cb868
  1. 3
      src/pages/user/login/components/Login/LoginTab.tsx

3
src/pages/user/login/components/Login/LoginTab.tsx

@ -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;

Loading…
Cancel
Save