@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
22 lines • 809 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
const _excluded = ["className", "children"];
import React from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
export default function AlignmentHelper(_ref) {
let {
className = null,
children = null
} = _ref,
props = _objectWithoutProperties(_ref, _excluded);
return React.createElement("span", _extends({
className: classnames('dnb-alignment-helper', className),
"aria-hidden": true
}, props), children);
}
process.env.NODE_ENV !== "production" ? AlignmentHelper.propTypes = {
children: PropTypes.node,
className: PropTypes.string
} : void 0;
//# sourceMappingURL=AlignmentHelper.js.map