TODO Comment

Italic comment lines with colored TODO, FIXME, NOTE, or HACK tags.

1// TODO migrate to server components
2// FIXME handles null state poorly
3// NOTE revisit once design lock lands

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Editor28 } from "@/components/beste/piece/editor28";

<Editor28
  comments={[
    {
      "tag": "TODO",
      "text": "migrate to server components"
    },
    {
      "tag": "FIXME",
      "text": "handles null state poorly"
    },
    {
      "tag": "NOTE",
      "text": "revisit once design lock lands"
    }
  ]}
/>