UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

27 lines (25 loc) 828 B
"use strict"; 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, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic 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); };