提交 521dca84 编写于 作者: K kenve 提交者: 偏右

fix: missing ts definitions

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册