Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
254c5a6f
Commit
254c5a6f
authored
Jan 15, 2018
by
jim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add style property
parent
3c03f222
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
src/components/AvatarList/index.d.ts
src/components/AvatarList/index.d.ts
+2
-0
src/components/Login/index.d.ts
src/components/Login/index.d.ts
+4
-2
src/components/NoticeIcon/index.d.ts
src/components/NoticeIcon/index.d.ts
+2
-0
No files found.
src/components/AvatarList/index.d.ts
View file @
254c5a6f
...
@@ -2,10 +2,12 @@ import * as React from "react";
...
@@ -2,10 +2,12 @@ import * as React from "react";
export
interface
AvatarItemProps
{
export
interface
AvatarItemProps
{
tips
:
React
.
ReactNode
;
tips
:
React
.
ReactNode
;
src
:
string
;
src
:
string
;
style
?:
React
.
CSSProperties
;
}
}
export
interface
AvatarListProps
{
export
interface
AvatarListProps
{
size
?:
"
large
"
|
"
small
"
|
"
mini
"
|
"
default
"
;
size
?:
"
large
"
|
"
small
"
|
"
mini
"
|
"
default
"
;
style
?:
React
.
CSSProperties
;
children
:
children
:
|
React
.
ReactElement
<
AvatarItem
>
|
React
.
ReactElement
<
AvatarItem
>
|
Array
<
React
.
ReactElement
<
AvatarItem
>>
;
|
Array
<
React
.
ReactElement
<
AvatarItem
>>
;
...
...
src/components/Login/index.d.ts
View file @
254c5a6f
import
*
as
React
from
'
react
'
;
import
*
as
React
from
"
react
"
;
import
Button
from
'
antd/lib/button
'
;
import
Button
from
"
antd/lib/button
"
;
export
interface
LoginProps
{
export
interface
LoginProps
{
defaultActiveKey
?:
string
;
defaultActiveKey
?:
string
;
onTabChange
?:
(
key
:
string
)
=>
void
;
onTabChange
?:
(
key
:
string
)
=>
void
;
style
?:
React
.
CSSProperties
;
onSubmit
?:
(
error
:
any
,
values
:
any
)
=>
void
;
onSubmit
?:
(
error
:
any
,
values
:
any
)
=>
void
;
}
}
...
@@ -15,6 +16,7 @@ export class Tab extends React.Component<TabProps, any> {}
...
@@ -15,6 +16,7 @@ export class Tab extends React.Component<TabProps, any> {}
export
interface
LoginItemProps
{
export
interface
LoginItemProps
{
name
?:
string
;
name
?:
string
;
rules
?:
any
[];
rules
?:
any
[];
style
?:
React
.
CSSProperties
;
onGetCaptcha
?:
()
=>
void
;
onGetCaptcha
?:
()
=>
void
;
}
}
...
...
src/components/NoticeIcon/index.d.ts
View file @
254c5a6f
...
@@ -24,6 +24,7 @@ export interface NoticeIconProps {
...
@@ -24,6 +24,7 @@ export interface NoticeIconProps {
useCssBottom
?:
boolean
;
useCssBottom
?:
boolean
;
useCssTransform
?:
boolean
;
useCssTransform
?:
boolean
;
};
};
style
?:
React
.
CSSProperties
;
onPopupVisibleChange
?:
(
visible
:
boolean
)
=>
void
;
onPopupVisibleChange
?:
(
visible
:
boolean
)
=>
void
;
popupVisible
?:
boolean
;
popupVisible
?:
boolean
;
locale
?:
{
emptyText
:
string
;
clear
:
string
};
locale
?:
{
emptyText
:
string
;
clear
:
string
};
...
@@ -34,6 +35,7 @@ export interface NoticeIconTabProps {
...
@@ -34,6 +35,7 @@ export interface NoticeIconTabProps {
title
?:
string
;
title
?:
string
;
emptyText
?:
React
.
ReactNode
;
emptyText
?:
React
.
ReactNode
;
emptyImage
?:
string
;
emptyImage
?:
string
;
style
?:
React
.
CSSProperties
;
}
}
export
class
NoticeIconTab
extends
React
.
Component
<
NoticeIconTabProps
,
any
>
{}
export
class
NoticeIconTab
extends
React
.
Component
<
NoticeIconTabProps
,
any
>
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment