@keycloakify/keycloak-admin-ui
Version:
Repackaged Keycloak Admin UI
16 lines (15 loc) • 730 B
TypeScript
import type RoleRepresentation from "@keycloak/keycloak-admin-client/lib/defs/roleRepresentation";
import { UseFormReturn } from "react-hook-form";
import type { KeyValueType } from "../../components/key-value-form/key-value-convert";
export type AttributeForm = Omit<RoleRepresentation, "attributes"> & {
attributes?: KeyValueType[];
};
export type AttributesFormProps = {
form: UseFormReturn<AttributeForm>;
save?: (model: AttributeForm) => void;
reset?: () => void;
fineGrainedAccess?: boolean;
name?: string;
isDisabled?: boolean;
};
export declare const AttributesForm: ({ form, reset, save, fineGrainedAccess, name, isDisabled, }: AttributesFormProps) => import("react/jsx-runtime").JSX.Element;