UNPKG

@progress/kendo-react-common

Version:

React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package

40 lines (39 loc) 1.44 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2023 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *-------------------------------------------------------------------------------------------*/ import * as React from 'react'; import { TypographyProps } from './TypographyProps'; /** * @hidden */ export interface TypographyHandle { /** * The TypographyHandle element. */ element: HTMLElement | null; } /** * Represents the [KendoReact Typography component]({% slug overview_typography %}). * * @example * ```jsx * const App = () => { * return ( * <Typography.h2>Heading 2</Typography.h2> * ); * }; * ReactDOM.render(<App />, document.querySelector('my-app')); * ``` */ export declare const Typography: { h1: React.ForwardRefExoticComponent<TypographyProps>; h2: React.ForwardRefExoticComponent<TypographyProps>; h3: React.ForwardRefExoticComponent<TypographyProps>; h4: React.ForwardRefExoticComponent<TypographyProps>; h5: React.ForwardRefExoticComponent<TypographyProps>; h6: React.ForwardRefExoticComponent<TypographyProps>; p: React.ForwardRefExoticComponent<TypographyProps>; code: React.ForwardRefExoticComponent<TypographyProps>; pre: React.ForwardRefExoticComponent<TypographyProps>; };