UNPKG

524 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6
7var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
8
9function index(_ref) {
10 var rowIndex = _ref.rowIndex;
11
12 return function (rowData) {
13 return _extends({}, rowData, {
14 _index: rowIndex
15 });
16 };
17}
18
19exports.default = index;
\No newline at end of file