Props

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

Properties

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