mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +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>
|
|
);
|
|
}
|