Repository URL to install this package:
|
Version:
2.1.16 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const Item_1 = require("./Item");
function defaultRenderShoppingListItem(props) {
const {
index,
item
} = props,
remainingProps = tslib_1.__rest(props, ["index", "item"]);
return react_1.default.createElement(Item_1.Item, Object.assign({
key: index,
item: item
}, remainingProps));
}
exports.defaultRenderShoppingListItem = defaultRenderShoppingListItem;