"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _constants = require("../../constants");
var _InlineLabelWrapperSt = require("./InlineLabelWrapper.st.css.js");
var _jsxFileName = "/home/builduser/work/57e038ea7326c1ec/packages/wix-design-system/dist/cjs/FieldSet/components/InlineLabelWrapper/InlineLabelWrapper.tsx";
var InlineLabelWrapper = _ref => {
  var {
    children,
    suffix,
    charCount,
    labelPlacement,
    labelSize
  } = _ref;
  return /*#__PURE__*/_react.default.createElement("div", {
    "data-hook": _constants.dataHooks.labelIndicators,
    className: (0, _InlineLabelWrapperSt.st)(_InlineLabelWrapperSt.classes.root, {
      inlineWithSuffix: Boolean(suffix || charCount !== undefined),
      labelPlacement,
      labelSize
    }),
    __self: void 0,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 24,
      columnNumber: 3
    }
  }, children);
};
var _default = exports.default = InlineLabelWrapper;
//# sourceMappingURL=InlineLabelWrapper.js.map