"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _ = require("../..");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var StyledLabel = _styledComponents.default.label.withConfig({
  displayName: "ControlsListItem__StyledLabel",
  componentId: "sc-6zt75f-0"
})(["width:100%;cursor:", ";"], function (_ref) {
  var $cursor = _ref.$cursor,
    $disabled = _ref.$disabled;
  return $disabled ? 'not-allowed' : $cursor;
});
var ControlsListItem = function ControlsListItem(_ref2) {
  var children = _ref2.children,
    _ref2$cursor = _ref2.cursor,
    cursor = _ref2$cursor === void 0 ? 'pointer' : _ref2$cursor,
    disabled = _ref2.disabled;
  return _react.default.createElement(_.ListItem, null, _react.default.createElement(StyledLabel, {
    $disabled: disabled,
    $cursor: cursor
  }, children));
};
var _default = exports.default = ControlsListItem;