UNPKG

@atlaskit/editor-common

Version:

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

20 lines 588 B
/** * @jsxRuntime classic * @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766 import { css, jsx } from '@emotion/react'; var wrapperStyle = css({ display: 'flex', // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766 'span > svg': { verticalAlign: 'top' } }); export var IconWrapper = function IconWrapper(_ref) { var children = _ref.children; return jsx("span", { css: wrapperStyle, "data-testid": "media-inline-image-card-icon" }, children); };