Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

v3.0.0

Choose a tag to compare

@atomiks atomiks released this 28 Sep 17:49
· 176 commits to master since this release

Breaking changes

import Tippy from '@tippy.js/react';
import 'tippy.js/dist/tippy.css';
  • <TippyGroup /> was replaced with <TippySingleton />. You should pass all the non-content props to <TippySingleton />, with each <Tippy /> child having content props.

  • Deprecated isVisible/isEnabled props removed – use visible and enabled

Features

  • plugins prop to use new plugins from core:
import Tippy from '@tippy.js/react';
import {followCursor} from 'tippy.js';

import 'tippy.js/dist/tippy.css';

function App() {
  return (
    <Tippy content="Tooltip" followCursor={true} plugins={[followCursor]}>
      <button />
    </Tippy>
  );
}