UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

12 lines 720 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // (C) 2020 GoodData Corporation var React = require("react"); var classnames_1 = require("classnames"); var DropdownButton = function (_a) { var isActive = _a.isActive, buttonTitle = _a.buttonTitle, onClick = _a.onClick; var className = classnames_1.default("gd-mvf-dropdown-button", "s-mvf-dropdown-button", "gd-button", "gd-button-secondary", "button-dropdown", "icon-right", { "icon-navigateup": isActive, "icon-navigatedown": !isActive }); return (React.createElement("button", { className: className, onClick: onClick }, buttonTitle)); }; exports.default = DropdownButton; //# sourceMappingURL=MeasureValueFilterButton.js.map