@zag-js/splitter
Version:
Core logic for the splitter widget implemented as a state machine
18 lines (14 loc) • 434 B
TypeScript
import { NormalizedPanelData } from '../splitter.types.js';
import '@zag-js/core';
import '@zag-js/types';
import './registry.js';
/**
* This code was modified from react-resizable-panels by Brian Vaughn
* @see https://github.com/bvaughn/react-resizable-panels
*/
declare function resizePanel({ panels, index, size }: {
panels: NormalizedPanelData[];
index: number;
size: number;
}): number;
export { resizePanel };