easy-email-extensions 3.2.1-alpha.8 → 3.2.1-alpha.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,4 +2,5 @@ import React from 'react';
2
2
  import { BlockLayerProps } from '../BlockLayer';
3
3
  export declare const SimpleLayout: React.FC<{
4
4
  showSourceCode?: boolean;
5
+ defaultShowLayer?: boolean;
5
6
  } & BlockLayerProps>;
package/lib/index2.js CHANGED
@@ -46715,8 +46715,8 @@ function MergeTagBadge() {
46715
46715
  }
46716
46716
  const SimpleLayout = (props) => {
46717
46717
  const { height: containerHeight } = useEditorProps();
46718
- const { showSourceCode = true } = props;
46719
- const [collapsed, setCollapsed] = useState(false);
46718
+ const { showSourceCode = true, defaultShowLayer = true } = props;
46719
+ const [collapsed, setCollapsed] = useState(!defaultShowLayer);
46720
46720
  return /* @__PURE__ */ React__default.createElement(ConfigProvider, {
46721
46721
  locale: enUS
46722
46722
  }, /* @__PURE__ */ React__default.createElement(Layout$1, {