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
df0ffd6d
Commit
df0ffd6d
authored
Apr 27, 2018
by
Nikhil Bhargava
Committed by
ιεΈ
Apr 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up typescript definitions
parent
3df1c08f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/components/Charts/ChartCard/index.d.ts
src/components/Charts/ChartCard/index.d.ts
+1
-1
src/components/Charts/Pie/index.d.ts
src/components/Charts/Pie/index.d.ts
+1
-1
No files found.
src/components/Charts/ChartCard/index.d.ts
View file @
df0ffd6d
...
@@ -2,7 +2,7 @@ import * as React from 'react';
...
@@ -2,7 +2,7 @@ import * as React from 'react';
export
interface
IChartCardProps
{
export
interface
IChartCardProps
{
title
:
React
.
ReactNode
;
title
:
React
.
ReactNode
;
action
?:
React
.
ReactNode
;
action
?:
React
.
ReactNode
;
total
?:
React
.
ReactNode
|
function
|
number
;
total
?:
React
.
ReactNode
|
number
|
(()
=>
React
.
ReactNode
|
number
)
;
footer
?:
React
.
ReactNode
;
footer
?:
React
.
ReactNode
;
contentHeight
?:
number
;
contentHeight
?:
number
;
avatar
?:
React
.
ReactNode
;
avatar
?:
React
.
ReactNode
;
...
...
src/components/Charts/Pie/index.d.ts
View file @
df0ffd6d
...
@@ -10,7 +10,7 @@ export interface IPieProps {
...
@@ -10,7 +10,7 @@ export interface IPieProps {
x
:
string
|
string
;
x
:
string
|
string
;
y
:
number
;
y
:
number
;
}
>
;
}
>
;
total
?:
string
|
function
;
total
?:
React
.
ReactNode
|
number
|
(()
=>
React
.
ReactNode
|
number
)
;
title
?:
React
.
ReactNode
;
title
?:
React
.
ReactNode
;
tooltip
?:
boolean
;
tooltip
?:
boolean
;
valueFormat
?:
(
value
:
string
)
=>
string
|
React
.
ReactNode
;
valueFormat
?:
(
value
:
string
)
=>
string
|
React
.
ReactNode
;
...
...
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