Fakultas Ilmu Komputer UI

Pane.jsx 263 Bytes
Newer Older
1
2
3
4
5
6
import React from 'react';

export default class Pane extends React.Component {
  static displayName = 'Pane';

  static propTypes = {
7
    children: React.PropTypes.any.isRequired,
8
9
10
11
12
13
14
15
  };

  render = () => (
    <div>
      {this.props.children}
    </div>
    )
}