Props

interface IProps {
    group?: Pick<IFrontGroupsItem, "id" | "name" | "users">;
    organization: Pick<IFrontOrganizationsItem, "id" | "groups">;
    swr: {
        addOneGroup?: (group: IFrontNewGroup) => Promise<void>;
        mutateOneGroup?: (group: IFrontMutateGroupsItem) => Promise<void>;
        mutateOneOrganization: (
            organization: IFrontMutateOrganizationsItem,
        ) => Promise<void>;
    };
    userOptions: { label: string; value: string }[];
}

Properties

group?: Pick<IFrontGroupsItem, "id" | "name" | "users">
organization: Pick<IFrontOrganizationsItem, "id" | "groups">
swr: {
    addOneGroup?: (group: IFrontNewGroup) => Promise<void>;
    mutateOneGroup?: (group: IFrontMutateGroupsItem) => Promise<void>;
    mutateOneOrganization: (
        organization: IFrontMutateOrganizationsItem,
    ) => Promise<void>;
}
userOptions: { label: string; value: string }[]