import type { HTMLAttributes, ReactNode } from 'react'; import type { SxProp } from '../Layout/sx.js'; export type ScrollAxis = 'both' | 'x' | 'y'; export interface ScrollProps extends HTMLAttributes { axis?: ScrollAxis; maxHeight?: number | string; maxWidth?: number | string; region?: boolean; /** * One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a * responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx * merges into inline style; responsive sx injects a scoped class. */ sx?: SxProp; children: ReactNode; }