Pilates
    Preparing search index...

    Type Alias BoxProps

    BoxProps: LayoutProps & BorderProps & {
        children?: ReactNode;
        onClick?: (event: MouseEvent) => void;
        onWheel?: (event: MouseEvent) => void;
        ref?: Ref<unknown>;
    }

    Type Declaration

    • Optionalchildren?: ReactNode
    • OptionalonClick?: (event: MouseEvent) => void
    • OptionalonWheel?: (event: MouseEvent) => void
    • Optionalref?: Ref<unknown>

      Receives the underlying host instance. Pair with useBoxMetrics(ref) to read computed layout (left / top / width / height) for this Box.