UNPKG

@hypothesis/frontend-shared

Version:

Shared components, styles and utilities for Hypothesis projects

13 lines (12 loc) 598 B
/** * @typedef {import('../../types').PresentationalProps} CommonProps * @typedef {import('preact').JSX.HTMLAttributes<HTMLDivElement>} HTMLDivAttributes */ /** * Apply consistent padding and spacing to content within a Scroll * * @param {CommonProps & HTMLDivAttributes} props */ export default function ScrollContent({ children, classes, elementRef, ...htmlAttributes }: CommonProps & HTMLDivAttributes): import("preact").JSX.Element; export type CommonProps = import('../../types').PresentationalProps; export type HTMLDivAttributes = import('preact').JSX.HTMLAttributes<HTMLDivElement>;