UNPKG

@atlaskit/renderer

Version:
16 lines (15 loc) 737 B
import React from 'react'; import { componentWithCondition } from '@atlaskit/platform-feature-flags-react'; import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals'; import { LayoutSectionCompiled } from './layoutColumn-compiled'; import { LayoutSectionEmotion } from './layoutColumn-emotion'; var LayoutSectionMigration = componentWithCondition(function () { return expValEquals('platform_editor_renderer_static_css', 'isEnabled', true); }, LayoutSectionCompiled, LayoutSectionEmotion); /** * Render a layout column in renderer. */ export default function LayoutSection(props) { // eslint-disable-next-line react/jsx-props-no-spreading return /*#__PURE__*/React.createElement(LayoutSectionMigration, props); }