/** @public */ export interface CollapsiblePanel { /** * Whether the panel is collapsed. */ collapsed?: boolean; /** * Initial collapsed state of an uncontrolled panel. */ defaultCollapsed?: boolean; /** * Fired when the value of `collapsed` changes or should change. */ onCollapsedChange?: (value: boolean) => void; /** * Container width, in pixels, below which the panel renders as a drawer. * An uncontrolled sidebar additionally collapses itself below this width and * reopens above it; a details panel never collapses itself. */ breakpoint?: number; /** * Fired on the first measurement, and whenever the panel moves to the other * side of `breakpoint`, whether because the container was resized or because * `breakpoint` itself changed. Receives `true` while the container is * narrower than `breakpoint`. * * Crossing the breakpoint never overwrites a controlled `collapsed` and never * fires `onCollapsedChange` for a controlled panel: react here and update * `collapsed` yourself if you want to. */ onBreakpointTransition?: (belowBreakpoint: boolean) => void; } //# sourceMappingURL=collapsible.d.ts.map