How to use the @remirror/react.useRemirrorManager function in @remirror/react

To help you get started, we’ve selected a few @remirror/react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ifiokjr / remirror / @remirror / react-portals / src / __tests__ / react-portals.spec.tsx View on Github external
const Component = () => {
      const manager = useRemirrorManager();

      expect(manager).toBeTruthy();
      return <div data-testid="test">;
    };
</div>
github ifiokjr / remirror / @remirror / react-portals / src / __tests__ / react-portals.spec.tsx View on Github external
const Component = () =&gt; {
      const manager = useRemirrorManager();

      expect(manager).toBeTruthy();
      return <div data-testid="test">;
    };
</div>

@remirror/react

Hooks and components for consuming `remirror` with your fave framework `React`.

MIT
Latest version published 3 months ago

Package Health Score

84 / 100
Full package analysis