extpoint-yii2
Version:
JavaScript part for projects on ExtPoint Yii2 Boilerplate and yii2-core
25 lines (21 loc) • 649 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
export default class GridWrapperView extends React.Component {
static propTypes = {
className: PropTypes.string,
table: PropTypes.element,
pagination: PropTypes.element,
paginationSize: PropTypes.element,
search: PropTypes.element,
};
render() {
return (
<div className={this.props.className}>
{this.props.search}
{this.props.paginationSize}
{this.props.table}
{this.props.pagination}
</div>
);
}
}