@itwin/core-react
Version:
A react component library of iTwin.js UI general purpose components
19 lines • 906 B
JavaScript
/*---------------------------------------------------------------------------------------------
* 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 body text React functional component
* @public
* @deprecated in 4.0.0. Use `<Text variant='body' />` from iTwinUI-react package.
*/
// eslint-disable-next-line @typescript-eslint/no-deprecated
export function BodyText(props) {
// eslint-disable-next-line @typescript-eslint/no-deprecated
return React.createElement(StyledText, { ...props, mainClassName: "uicore-text-body" });
}
//# sourceMappingURL=BodyText.js.map