@atlaskit/modal-dialog
Version:
A modal dialog displays content that requires user interaction, in a layer above the page.
21 lines (20 loc) • 694 B
TypeScript
/** @jsx jsx */
import React from 'react';
interface ScrollContainerProps {
/**
* Children of the body within modal dialog.
*/
children: React.ReactNode;
/**
* A `testId` prop is provided for specified elements,
* which is a unique string that appears as a data attribute `data-testid` in the rendered code,
* serving as a hook for automated tests.
*/
testId?: string;
}
/**
* A container that shows top and bottom keylines when the
* content overflows into the scrollable element.
*/
declare const ScrollContainer: React.ForwardRefExoticComponent<ScrollContainerProps & React.RefAttributes<HTMLElement | null>>;
export default ScrollContainer;