mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +08:00
15 lines
257 B
JavaScript
15 lines
257 B
JavaScript
import React from 'react';
|
|
import Header from './Header';
|
|
import Footer from './Footer';
|
|
|
|
import './app.less';
|
|
export default function App(props) {
|
|
return (
|
|
<div>
|
|
<Header {...props} />
|
|
{ props.children }
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}
|