"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var classnames_1 = __importDefault(require("classnames"));
var react_1 = __importDefault(require("react"));
function Label(_a) {
    var label = _a.label, onClick = _a.onClick;
    var labelClassNames = classnames_1.default('echLegendItem__label', {
        'echLegendItem__label--clickable': Boolean(onClick),
    });
    return (react_1.default.createElement("div", { className: labelClassNames, title: label, onClick: onClick }, label));
}
exports.Label = Label;
//# sourceMappingURL=label.js.map