UNPKG

@ansible/ansible-ui-framework

Version:

A framework for building applications using PatternFly.

24 lines (23 loc) 687 B
import { ReactNode } from 'react'; interface ScrollableState { stickyLeft: number; stickyRight: number; stickyTop: number; stickyBottom: number; } export declare function useScrollableState(): [ScrollableState, import("react").Dispatch<import("react").SetStateAction<ScrollableState>>]; export declare function Scrollable(props: { className?: string; children?: ReactNode; onScroll?: (scroll: { left: number; right: number; top: number; bottom: number; }) => void; marginTop?: number; marginBottom?: number; marginRight?: number; marginLeft?: number; }): import("react/jsx-runtime").JSX.Element; export {};