diff --git a/src/components/AvatarList/index.d.ts b/src/components/AvatarList/index.d.ts index 6687bf21983b64a57e3d95c0ebc14c50f5f42e24..101a70d40918c4936e00aa15499c9af99517e109 100644 --- a/src/components/AvatarList/index.d.ts +++ b/src/components/AvatarList/index.d.ts @@ -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 | Array>; diff --git a/src/components/Login/index.d.ts b/src/components/Login/index.d.ts index 8c792b08a27428fbd5962a613fa653c2fc4fa394..798429220dba6aeb795ddc02899bfad6df5f1c1f 100644 --- a/src/components/Login/index.d.ts +++ b/src/components/Login/index.d.ts @@ -1,8 +1,9 @@ -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 {} export interface LoginItemProps { name?: string; rules?: any[]; + style?: React.CSSProperties; onGetCaptcha?: () => void; } diff --git a/src/components/NoticeIcon/index.d.ts b/src/components/NoticeIcon/index.d.ts index d8f216808f23109fd87ebab38ca10769fa2e1ba1..76541cd6c32e0ea073e65efa6aa08bac158c1c8a 100644 --- a/src/components/NoticeIcon/index.d.ts +++ b/src/components/NoticeIcon/index.d.ts @@ -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 {}