import { StudioLayouts } from '.'; import type { StudioLayoutFlexConfig } from './StudioBaseSchema'; import type { StudioLayoutChildrenConfigProps } from '../types'; export interface StudioLayoutCanvasConfig extends Pick { /** * Type of the layout component. */ type: `${StudioLayouts.canvas}`; /** * Additional props applied to the internal canvas overlay. * @example * { * className: 'my-canvas-overlay', * style: { backgroundColor: 'rgba(0, 0, 0, 0.1)' } * } */ overlayProps?: object; /** * Children components to render inside the canvas. */ children?: StudioLayoutChildrenConfigProps; }