18 lines
270 B
JavaScript
18 lines
270 B
JavaScript
|
// @flow
|
||
|
import React, { Component } from 'react';
|
||
|
import type { Children } from 'react';
|
||
|
|
||
|
export default class App extends Component {
|
||
|
props: {
|
||
|
children: Children
|
||
|
};
|
||
|
|
||
|
render() {
|
||
|
return (
|
||
|
<div>
|
||
|
{this.props.children}
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
}
|