UNPKG

@zag-js/splitter

Version:

Core logic for the splitter widget implemented as a state machine

17 lines (13 loc) 426 B
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 validateSizes({ size: prevSize, panels }: { size: number[]; panels: NormalizedPanelData[]; }): number[]; export { validateSizes };