summaryrefslogtreecommitdiff
path: root/lib/incoterms/table/incoterms-table-toolbar.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/incoterms/table/incoterms-table-toolbar.tsx')
-rw-r--r--lib/incoterms/table/incoterms-table-toolbar.tsx16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/incoterms/table/incoterms-table-toolbar.tsx b/lib/incoterms/table/incoterms-table-toolbar.tsx
new file mode 100644
index 00000000..b87982c9
--- /dev/null
+++ b/lib/incoterms/table/incoterms-table-toolbar.tsx
@@ -0,0 +1,16 @@
+"use client";
+
+import * as React from "react";
+import { IncotermsAddDialog } from "./incoterms-add-dialog";
+
+interface IncotermsTableToolbarProps {
+ onSuccess?: () => void;
+}
+
+export function IncotermsTableToolbar({ onSuccess }: IncotermsTableToolbarProps) {
+ return (
+ <div className="flex items-center gap-2">
+ <IncotermsAddDialog onSuccess={onSuccess} />
+ </div>
+ );
+} \ No newline at end of file