@stihl-design-system/components
Version:
Welcome to the STIHL Design System react component library.
19 lines (18 loc) • 628 B
TypeScript
import { Theme } from '../../types/common-types';
import { NumberIndicatorVariant } from './NumberIndicator.utils';
import { JSX } from 'react';
export interface NumberIndicatorProps extends React.HTMLAttributes<HTMLSpanElement> {
/** Content within the NumberIndicator. */
label?: string;
/** Defines the theme.
* @default 'light'
*/
theme?: Theme;
/**
* Variant of the NumberIndicator.
*
* @default 'default'
*/
variant?: NumberIndicatorVariant;
}
export declare const NumberIndicator: ({ label, className, theme, variant, ...rest }: NumberIndicatorProps) => JSX.Element;