import * as Tooltip from '@radix-ui/react-tooltip'; import { FocusIcon } from '@shared/icons'; import { NoteReaction } from '@shared/notes/actions/reaction'; import { NoteReply } from '@shared/notes/actions/reply'; import { NoteRepost } from '@shared/notes/actions/repost'; import { NoteZap } from '@shared/notes/actions/zap'; import { WIDGET_KIND } from '@stores/constants'; import { useWidget } from '@utils/hooks/useWidget'; export function NoteActions({ id, pubkey, extraButtons = true, root, }: { id: string; pubkey: string; extraButtons?: boolean; root?: string; }) { const { addWidget } = useWidget(); return (
{extraButtons && (
Open thread
)}
); }