mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-11 10:05:07 +08:00
14 lines
236 B
JavaScript
14 lines
236 B
JavaScript
import React from 'react';
|
|
import Header from './Header';
|
|
import Footer from './Footer';
|
|
|
|
export default function App(props) {
|
|
return (
|
|
<div>
|
|
<Header {...props} />
|
|
{ props.children }
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}
|