@darwino/darwino-react
Version:
A set of Javascript classes and utilities
25 lines (21 loc) • 539 B
JavaScript
/*
* (c) Copyright Darwino Inc. 2014-2017.
*/
import React, { Component } from "react";
import BaseValuePicker from './BaseValuePicker';
/*
* List picker
*/
class BaseListPicker extends BaseValuePicker {
constructor(props, context) {
super(props, context);
}
renderItem(value, index) {
var label = this.itemLabel(value);
return /*#__PURE__*/React.createElement("a", {
key: index
}, label != undefined && label.toString());
}
}
export default BaseListPicker;
//# sourceMappingURL=BaseListPicker.js.map