mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +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>
|
|
);
|
|
}
|