UNPKG

@abgov/react-components

Version:

Government of Alberta - UI components for React

25 lines (24 loc) 790 B
import { GoabTooltipHorizontalAlignment, GoabTooltipPosition, Margins } from '@abgov/ui-components-common'; import { ReactNode, JSX } from 'react'; interface WCProps extends Margins { position?: GoabTooltipPosition; content?: string; testid?: string; halign?: GoabTooltipHorizontalAlignment; } declare module "react" { namespace JSX { interface IntrinsicElements { "goa-tooltip": WCProps & React.HTMLAttributes<HTMLElement>; } } } export interface GoabTooltipProps extends Margins { position?: GoabTooltipPosition; content?: string; hAlign?: GoabTooltipHorizontalAlignment; testId?: string; children?: ReactNode; } export declare function GoabTooltip(props: GoabTooltipProps): JSX.Element; export default GoabTooltip;