edit-link.tsx

src/components/edit-link.tsx
'use client'
import { useState } from 'react'
import { useRouter, usePathname } from 'next/navigation'
import { Dialog, DialogPanel, DialogTitle } from '@headlessui/react'
import { Paragraph } from '@/components/paragraph'
import pencilSolidIcon from '@iconify/icons-heroicons/pencil-solid'
import eyeIcon from '@iconify/icons-heroicons/eye'
import arrowPath20Solid from '@iconify/icons-heroicons/arrow-path-20-solid'
import { Icon } from '@/components/icon'
import { state, useSnapshot } from '@/state'
interface EditLinkProps {
meta: {
databaseId: number
slug: string
postType: string
wpUrl?: string
}
}

Showing the first 20 lines.

Get full code

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC