"use strict";

var _define = require("../preactement/define");
var _InlineError = require("../../InlineError");
var _wrapperUtils = require("../wrapperUtils");
var _jsxRuntime = require("preact/compat/jsx-runtime");
const attributes = ['class-name', 'inversed', 'root-id'];
const Wrapper = _ref => {
  let {
    inversed,
    rootId,
    ...otherProps
  } = _ref;
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_InlineError.InlineError, {
    ...otherProps,
    inversed: (0, _wrapperUtils.parseBooleanAttr)(inversed),
    id: rootId
  });
};
(0, _define.define)('ds-inline-error', () => Wrapper, {
  attributes,
  shadow: true
});