@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
27 lines (25 loc) • 735 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.IconWrapper = void 0;
var _react = require("@emotion/react");
/**
* @jsxRuntime classic
* @jsx jsx
*/
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
var wrapperStyle = (0, _react.css)({
display: 'flex',
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
'span > svg': {
verticalAlign: 'top'
}
});
var IconWrapper = exports.IconWrapper = function IconWrapper(_ref) {
var children = _ref.children;
return (0, _react.jsx)("span", {
css: wrapperStyle,
"data-testid": "media-inline-image-card-icon"
}, children);
};