import type { IGridLayout , LayoutBox } from "@thi.ng/layout" ; import { isLayout } from "@thi.ng/layout/checks" ; export const layoutBox = ( layout , spans ? ) => ( isLayout ( layout ) ? layout . next ( spans ) : layout ) ;