aura-glass
Version:
A comprehensive glassmorphism design system for React applications with 142+ production-ready components
46 lines • 1.2 kB
TypeScript
import React from "react";
export interface GlassSplitPaneProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* Split direction
*/
direction?: "horizontal" | "vertical";
/**
* Initial split percentage for first pane
*/
initial?: number;
/**
* Minimum percentage for first pane
*/
min?: number;
/**
* Maximum percentage for first pane
*/
max?: number;
/**
* Content for the left/top pane
*/
left?: React.ReactNode;
/**
* Content for the right/bottom pane
*/
right?: React.ReactNode;
/**
* Whether to respect user's motion preferences
*/
respectMotionPreference?: boolean;
/**
* Accessibility label for screen readers
*/
"aria-label"?: string;
/**
* Callback when split percentage changes
*/
onSplitChange?: (percentage: number) => void;
}
/**
* GlassSplitPane component
* Resizable split pane with glassmorphism styling
*/
export declare const GlassSplitPane: React.ForwardRefExoticComponent<GlassSplitPaneProps & React.RefAttributes<HTMLDivElement>>;
export default GlassSplitPane;
//# sourceMappingURL=GlassSplitPane.d.ts.map