Commit 254c5a6f authored by jim's avatar jim

Add style property

parent 3c03f222
......@@ -2,10 +2,12 @@ import * as React from "react";
export interface AvatarItemProps {
tips: React.ReactNode;
src: string;
style?: React.CSSProperties;
}
export interface AvatarListProps {
size?: "large" | "small" | "mini" | "default";
style?: React.CSSProperties;
children:
| React.ReactElement<AvatarItem>
| Array<React.ReactElement<AvatarItem>>;
......
import * as React from 'react';
import Button from 'antd/lib/button';
import * as React from "react";
import Button from "antd/lib/button";
export interface LoginProps {
defaultActiveKey?: string;
onTabChange?: (key: string) => void;
style?: React.CSSProperties;
onSubmit?: (error: any, values: any) => void;
}
......@@ -15,6 +16,7 @@ export class Tab extends React.Component<TabProps, any> {}
export interface LoginItemProps {
name?: string;
rules?: any[];
style?: React.CSSProperties;
onGetCaptcha?: () => void;
}
......
......@@ -24,6 +24,7 @@ export interface NoticeIconProps {
useCssBottom?: boolean;
useCssTransform?: boolean;
};
style?: React.CSSProperties;
onPopupVisibleChange?: (visible: boolean) => void;
popupVisible?: boolean;
locale?: { emptyText: string; clear: string };
......@@ -34,6 +35,7 @@ export interface NoticeIconTabProps {
title?: string;
emptyText?: React.ReactNode;
emptyImage?: string;
style?: React.CSSProperties;
}
export class NoticeIconTab extends React.Component<NoticeIconTabProps, any> {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment