UNPKG

@itwin/core-react

Version:

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

19 lines 936 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ /** @packageDocumentation * @module Text */ import * as React from "react"; import { StyledText } from "./StyledText.js"; /** Styled block text React functional component * @public * @deprecated in 4.12.0. Use {@link https://itwinui.bentley.com/docs/typography#text iTwinUI Text} instead. */ // eslint-disable-next-line @typescript-eslint/no-deprecated export function BlockText(props) { // eslint-disable-next-line @typescript-eslint/no-deprecated return React.createElement(StyledText, { ...props, mainClassName: "uicore-text-block" }); } //# sourceMappingURL=BlockText.js.map