@atlaskit/editor-plugin-card
Version:
Card plugin for @atlaskit/editor-core
18 lines • 708 B
JavaScript
import React from 'react';
import SmartLinkListIcon from '@atlaskit/icon/core/smart-link-list';
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
import { Flex, xcss } from '@atlaskit/primitives';
var wrapperStyles = xcss({
padding: 'space.050',
justifyContent: 'center',
alignItems: 'center',
width: 'space.300',
height: 'space.300'
});
export var DatasourceIcon = function DatasourceIcon(props) {
return /*#__PURE__*/React.createElement(Flex, {
xcss: wrapperStyles
}, /*#__PURE__*/React.createElement(SmartLinkListIcon, {
label: props === null || props === void 0 ? void 0 : props.label
}));
};