Commit fd0926bd authored by Erwin Zhang's avatar Erwin Zhang Committed by 陈帅

add component's name

parent 2835ffae
......@@ -5,7 +5,7 @@ import GridContent from './GridContent';
import styles from './PageHeaderLayout.less';
import MenuContext from './MeunContext';
export default ({ children, wrapperClassName, top, ...restProps }) => (
const PageHeaderLayout = ({ children, wrapperClassName, top, ...restProps }) => (
<div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}>
{top}
<MenuContext.Consumer>
......@@ -20,3 +20,5 @@ export default ({ children, wrapperClassName, top, ...restProps }) => (
) : null}
</div>
);
export default PageHeaderLayout;
......@@ -17,7 +17,7 @@ const actions = (
</div>
);
export default ({ location }) => (
const RegisterResult = ({ location }) => (
<Result
className={styles.registerResult}
type="success"
......@@ -31,3 +31,5 @@ export default ({ location }) => (
style={{ marginTop: 56 }}
/>
);
export default RegisterResult;
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