index.d.ts 647 Bytes
Newer Older
jim's avatar
jim committed
1
import Button from 'antd/lib/button';
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
2 3 4 5 6
import * as React from 'react';
import LoginItem from './LoginItem';
import LoginTab from './LoginTab';

export interface ILoginProps {
jim's avatar
jim committed
7 8
  defaultActiveKey?: string;
  onTabChange?: (key: string) => void;
jim's avatar
jim committed
9
  style?: React.CSSProperties;
jim's avatar
jim committed
10 11 12
  onSubmit?: (error: any, values: any) => void;
}

ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
13 14 15 16 17 18 19
export default class Login extends React.Component<ILoginProps, any> {
  public static Tab: typeof LoginTab;
  public static UserName: typeof LoginItem;
  public static Password: typeof LoginItem;
  public static Mobile: typeof LoginItem;
  public static Captcha: typeof LoginItem;
  public static Submit: typeof Button;
jim's avatar
jim committed
20
}