diff --git a/components/providers/ButtonCheckConnectionProvider.tsx b/components/providers/ButtonCheckConnectionProvider.tsx index 9c3076de78..5b921a7dfb 100644 --- a/components/providers/ButtonCheckConnectionProvider.tsx +++ b/components/providers/ButtonCheckConnectionProvider.tsx @@ -4,18 +4,16 @@ import { Button } from "@nextui-org/react"; import React from "react"; import { useFormStatus } from "react-dom"; -import { CheckIcon } from "../icons"; - export const ButtonCheckConnectionProvider = () => { const { pending } = useFormStatus(); return ( - Check connection + Check connection ); }; diff --git a/components/providers/ButtonDeleteProvider.tsx b/components/providers/ButtonDeleteProvider.tsx index ef13a5c9e5..ceabce0c6d 100644 --- a/components/providers/ButtonDeleteProvider.tsx +++ b/components/providers/ButtonDeleteProvider.tsx @@ -4,18 +4,16 @@ import { Button } from "@nextui-org/react"; import React from "react"; import { useFormStatus } from "react-dom"; -import { DeleteIcon } from "../icons"; - export const ButtonDeleteProvider = () => { const { pending } = useFormStatus(); return ( - Delete + Delete ); }; diff --git a/components/providers/table/ColumnsProvider.tsx b/components/providers/table/ColumnsProvider.tsx index 7a6b6d6270..e08050e620 100644 --- a/components/providers/table/ColumnsProvider.tsx +++ b/components/providers/table/ColumnsProvider.tsx @@ -5,9 +5,11 @@ import { Dropdown, DropdownItem, DropdownMenu, + DropdownSection, DropdownTrigger, } from "@nextui-org/react"; import { ColumnDef } from "@tanstack/react-table"; +import clsx from "clsx"; import { add } from "date-fns"; import { VerticalDotsIcon } from "@/components/icons"; @@ -19,11 +21,19 @@ import { DateWithTime } from "../DateWithTime"; import { DeleteProvider } from "../DeleteProvider"; import { ProviderInfo } from "../ProviderInfo"; import { DataTableColumnHeader } from "./DataTableColumnHeader"; - const getProviderData = (row: { original: ProviderProps }) => { return row.original; }; +import { + AddNoteBulkIcon, + DeleteDocumentBulkIcon, + EditDocumentBulkIcon, +} from "@nextui-org/shared-icons"; + +const iconClasses = + "text-2xl text-default-500 pointer-events-none flex-shrink-0"; + export const ColumnsProvider: ColumnDef[] = [ { header: "ID", @@ -117,19 +127,55 @@ export const ColumnsProvider: ColumnDef[] = [ const { id } = getProviderData(row); return ( - + - - - - - - - + + + } + > + + + + } + > + Edit provider + + + + + } + > + + +