UNPKG

@itwin/core-react

Version:

A react component library of iTwin.js UI general purpose components

21 lines 1.04 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ /** @packageDocumentation * @module Base */ import * as React from "react"; import { Div } from "./Div.js"; /** Scroll View React functional component. * Scrolls content vertically and * has the 'overflow-y: auto' CSS property and has a height and width of 100%. * @public * @deprecated in 4.12.0. Use {@link https://developer.mozilla.org/en-US/docs/Web/CSS/overflow overflow property} instead. */ // eslint-disable-next-line @typescript-eslint/no-deprecated export function ScrollView(props) { // eslint-disable-next-line @typescript-eslint/no-deprecated return React.createElement(Div, { ...props, mainClassName: "uicore-scrollview" }); } //# sourceMappingURL=ScrollView.js.map