UNPKG

@progress/kendo-react-indicators

Version:

React Indicators offer an interface to represent a visual indication for their UI elements. KendoReact Indicators package

36 lines (35 loc) 1 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { BadgeProps } from './BadgeProps.js'; import * as React from 'react'; /** * The Badge ref. */ export interface BadgeHandle { /** * The Badge element. */ element: HTMLSpanElement | null; /** * Focus the Badge. */ focus: () => void; } /** * Represents the [KendoReact Badge component](https://www.telerik.com/kendo-react-ui/components/indicators/badge). * * @example * ```jsx * const App = () => { * return ( * <Badge>99+</Badge> * ); * }; * ``` */ export declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<BadgeHandle | null>>;