@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
16 lines • 319 B
JavaScript
/** @jsx jsx */
import { css, jsx } from '@emotion/react';
const wrapperStyle = css({
display: 'flex',
'span > svg': {
verticalAlign: 'top'
}
});
export const IconWrapper = ({
children
}) => {
return jsx("span", {
css: wrapperStyle,
"data-testid": "media-inline-image-card-icon"
}, children);
};