UNPKG

@keycloakify/keycloak-account-ui

Version:
17 lines (16 loc) 924 B
import OrganizationRepresentation from "@keycloak/keycloak-admin-client/lib/defs/organizationRepresentation"; import { FunctionComponent, PropsWithChildren, ReactNode } from "react"; import { LoaderFunction } from "../../ui-shared/controls/table/KeycloakDataTable"; type OrganizationTableProps = PropsWithChildren & { loader: LoaderFunction<OrganizationRepresentation> | OrganizationRepresentation[]; link: FunctionComponent<PropsWithChildren<{ organization: OrganizationRepresentation; }>>; toolbarItem?: ReactNode; isPaginated?: boolean; onSelect?: (orgs: OrganizationRepresentation[]) => void; onDelete?: (org: OrganizationRepresentation) => void; deleteLabel?: string; }; export declare const OrganizationTable: ({ loader, toolbarItem, isPaginated, onSelect, onDelete, deleteLabel, link, children, }: OrganizationTableProps) => import("react/jsx-runtime").JSX.Element; export {};