@sinchsmb/ui-kit
Version:
UI kit for SinchSMB frontend
15 lines (14 loc) • 621 B
TypeScript
import { SVGProps } from 'react';
import { CommonProps } from '../../types';
export interface IconHelpProps extends Omit<CommonProps, 'ariaDescribedBy'> {
ariaLabel?: SVGProps<SVGSVGElement>['aria-label'];
/** Hint text of tooltip. */
hintText: string;
/** Action on click */
onClick?: () => void;
}
/**
* Icon help is a specifically stylized atom used in different places of the application
* to provide a consistent look for broadly used hint triggers.
*/
export declare const IconHelp: import("react").ForwardRefExoticComponent<IconHelpProps & import("react").RefAttributes<HTMLSpanElement>>;