UNPKG

@gpa-gemstone/react-forms

Version:
30 lines (29 loc) 701 B
interface IProps { /** * Help content to display in the tooltip. * If undefined, nothing is rendered. * @type {string | JSX.Element} */ Help?: string | JSX.Element; /** * Optional icon size in pixels. Defaults to 20. * @type {number} */ Size?: number; /** * Optional icon color. Defaults to 'var(--info)'. * @type {string} */ Color?: string; /** * Optional CSS class for the icon. * @type {string} */ Class?: string; } /** * HelpIcon component. * Renders a question-mark icon that displays a tooltip on hover. */ declare const HelpIcon: (props: IProps) => JSX.Element | null; export default HelpIcon;