Basic tooltip

Demonstrates adding a tooltip to a link.

import { useTooltip } from '@citizensadvice/react-dialogs';

export function Example() {
  const { tooltipProps, tooltip } = useTooltip('a b c d e xxxxxxxxxxxxxx');

  return (
    <>
      <a href="http://www.example.com" {...tooltipProps}>
        An example link
      </a>
      {tooltip}
    </>
  );
}