import React from 'react';
import "./text-description-detail-list-item.scss";

/**
 * 数据
 */

var TextDescriptionDetailListItem = function TextDescriptionDetailListItem(_ref) {
  var label = _ref.label,
    value = _ref.value,
    labelPosition = _ref.labelPosition,
    onClick = _ref.onClick,
    children = _ref.children;
  return /*#__PURE__*/React.createElement("div", {
    className: "text-description-detail-list-item position-" + labelPosition,
    onClick: onClick
  }, labelPosition !== 'none' && /*#__PURE__*/React.createElement("span", {
    className: "item-label"
  }, label), /*#__PURE__*/React.createElement("span", {
    className: "item-value"
  }, value));
};
TextDescriptionDetailListItem.displayName = 'TextDescriptionDetailListItem';
export default TextDescriptionDetailListItem;