Props

interface IProps {
    organizations: IFrontOrganizations;
    setOrganization: (organization: IFrontOrganizationsItem) => void;
    swr: {
        delOneOrganization: (
            organization: IFrontMutateOrganizationsItem,
        ) => Promise<void>;
        loadingOrganizations: boolean;
        mutateOneOrganization: (
            organization: IFrontMutateOrganizationsItem,
        ) => Promise<void>;
    };
    user: Pick<IFrontUser, "id">;
}

Properties

organizations: IFrontOrganizations
setOrganization: (organization: IFrontOrganizationsItem) => void
swr: {
    delOneOrganization: (
        organization: IFrontMutateOrganizationsItem,
    ) => Promise<void>;
    loadingOrganizations: boolean;
    mutateOneOrganization: (
        organization: IFrontMutateOrganizationsItem,
    ) => Promise<void>;
}
user: Pick<IFrontUser, "id">