import { FormButtons } from '@components/admin/FormButtons.js'; import Area from '@components/common/Area.js'; import { Form } from '@components/common/form/Form.js'; import { toast } from '@components/common/ui/Sonner.js'; import { _ } from '@evershop/evershop/lib/locale/translate/_'; import React from 'react'; interface WebhookNewFormProps { action: string; gridUrl: string; } export default function WebhookNewForm({ action, gridUrl }: WebhookNewFormProps) { return (
); } export const layout = { areaId: 'content', sortOrder: 10 }; export const query = ` query Query { action: url(routeId: "createWebhook") gridUrl: url(routeId: "webhookGrid") } `;