"use client";

import { useQuickAdd } from "@/components/quick-add-provider";
import { NavIcon } from "@/components/nav-icon";

export function Fab() {
  const { openSheet } = useQuickAdd();

  return (
    <button type="button" className="fab" aria-label="Quick add" onClick={openSheet}>
      <NavIcon name="plus" className="size-6" strokeWidth={2.4} />
    </button>
  );
}
