Commit 521dca84 authored by kenve's avatar kenve Committed by 偏右

fix: missing ts definitions

parent 85869caa
......@@ -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> {}
......@@ -4,7 +4,7 @@ import { Button } from 'antd';
import config from './typeConfig';
import styles from './index.less';
class Excrption extends React.PureComponent {
class Exception extends React.PureComponent {
static defaultProps = {
backText: 'back to home',
};
......@@ -56,4 +56,4 @@ class Excrption extends React.PureComponent {
}
}
export default Excrption;
export default Exception;
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