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
521dca84
Commit
521dca84
authored
Sep 04, 2018
by
kenve
Committed by
εε³
Sep 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: missing ts definitions
parent
85869caa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/components/Exception/index.d.ts
src/components/Exception/index.d.ts
+2
-0
src/components/Exception/index.js
src/components/Exception/index.js
+2
-2
No files found.
src/components/Exception/index.d.ts
View file @
521dca84
...
...
@@ -7,6 +7,8 @@ export interface IExceptionProps {
actions
?:
React
.
ReactNode
;
linkElement
?:
React
.
ReactNode
;
style
?:
React
.
CSSProperties
;
className
?:
string
;
backText
?:
React
.
ReactNode
;
}
export
default
class
Exception
extends
React
.
Component
<
IExceptionProps
,
any
>
{}
src/components/Exception/index.js
View file @
521dca84
...
...
@@ -4,7 +4,7 @@ import { Button } from 'antd';
import
config
from
'
./typeConfig
'
;
import
styles
from
'
./index.less
'
;
class
Exc
r
ption
extends
React
.
PureComponent
{
class
Exc
e
ption
extends
React
.
PureComponent
{
static
defaultProps
=
{
backText
:
'
back to home
'
,
};
...
...
@@ -56,4 +56,4 @@ class Excrption extends React.PureComponent {
}
}
export
default
Exc
r
ption
;
export
default
Exc
e
ption
;
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