import React from 'react'; import Griddle from 'griddle-react'; import { CustomPager } from './CustomPager.jsx'; import { fakeData } from '../data/fakeData.js'; import { columnMeta } from '../data/columnMeta.jsx'; const resultsPerPage = 10; const fakeDataWithAction = fakeData.map(data => Object.assign(data, {actions: ''})); export class PeopleGrid extends React.Component { render() { var pageIndex = this.props.params ? (this.props.params.pageIndex || 1) - 1 : 0; return (