UNPKG

@zag-js/splitter

Version:

Core logic for the splitter widget implemented as a state machine

18 lines (14 loc) 436 B
import { NormalizedPanelData } from '../splitter.types.mjs'; import '@zag-js/core'; import '@zag-js/types'; import './registry.mjs'; /** * 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 };