Docs
ZexaNext - A Next.js template for building a SaaS

ZexaNext - A Next.js template for building a SaaS

Hello World

Welcome to my world inline-code. I am Bhavik Agarwal and this is my first blog post.

import { useFloating } from "@floating-ui/react";
 
function MyComponent() {
  const { refs, floatingStyles } = useFloating();
 
  return (
    <>
      <div ref={refs.setReference} />
      <div ref={refs.setFloating} style={floatingStyles} />
    </>
  );
}