@gamesberry/karmyc-core
Version:
A flexible and powerful layout management system for React applications
10 lines (9 loc) • 322 B
TypeScript
import { AreaLayout, AreaRowLayout } from "../../types/areaTypes";
export declare const joinAreas: (row: AreaRowLayout, mergeArea: number, // This is the source area (the one being moved)
mergeInto: -1 | 1) => {
area: AreaLayout;
removedAreaId: string;
} | {
area: AreaRowLayout;
removedAreaId: string;
};