text: // @flow
  import { get } from "lodash";
  import type { CmsRenderElementStylePluginType } from "webiny-app-cms/types";
  
  export default ({
      name: "cms-render-element-style-width",
      type: "cms-render-element-style",
      renderStyle({ element, style }) {
          const { width } = get(element, "data.settings", {});
  
          if (!width) {
              return style;
          }
  
          return { ...style, width: width.value };
      }
  }: CmsRenderElementStylePluginType);
  