mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 23:35:38 +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>
|
|
);
|
|
}
|