/** * Spacer Component * * SwiftUI-inspired Spacer component that expands to fill available space * along the main axis of its container. Behaves like SwiftUI.Spacer. */ import type { ModifiableComponentWithModifiers } from '@tachui/core'; import type { ComponentProps, DOMNode } from '@tachui/core'; import { ComponentWithCSSClasses, type CSSClassesProps } from '@tachui/core'; import type { CloneableComponent, CloneOptions } from '@tachui/core/runtime/types'; /** * Spacer component properties with CSS classes support */ export interface SpacerProps extends ComponentProps, CSSClassesProps { minLength?: number; } /** * Spacer component implementation with CSS classes support */ export declare class SpacerComponent extends ComponentWithCSSClasses implements CloneableComponent { readonly type: "component"; readonly id: string; readonly props: SpacerProps; mounted: boolean; cleanup: (() => void)[]; constructor(props: SpacerProps); render(): DOMNode; clone(options?: CloneOptions): this; shallowClone(): this; deepClone(): this; } /** * Create a Spacer component with optional minimum length */ export declare function Spacer(minLength?: number): ModifiableComponentWithModifiers; export declare function Spacer(props?: SpacerProps): ModifiableComponentWithModifiers; //# sourceMappingURL=Spacer.d.ts.map