Props

interface IProps {
    disabled?: boolean;
    organizations: Pick<
        IFrontOrganizationsItem,
        "id"
        | "name"
        | "owners"
        | "users"
        | "groups",
    >[];
    project?: Pick<IFrontProjectsItem, "id" | "users" | "groups" | "title">;
    style?: CSSProperties & {
        buttonBordered?: boolean;
        buttonDark?: boolean;
        buttonLight?: boolean;
    };
    swr: {
        mutateOneProject?: (project: IFrontMutateProjectsItem) => Promise<void>;
        mutateOneWorkspace?: (
            workspace: IFrontMutateWorkspacesItem,
        ) => Promise<void>;
        mutateUser?: (user: IFrontMutateUser) => Promise<void>;
    };
    userModel?: Pick<IFrontUserModel, "id" | "users" | "groups" | "model">;
    workspace?: Pick<IFrontWorkspacesItem, "id" | "name" | "users" | "groups">;
}

Properties

disabled?: boolean
organizations: Pick<
    IFrontOrganizationsItem,
    "id"
    | "name"
    | "owners"
    | "users"
    | "groups",
>[]
project?: Pick<IFrontProjectsItem, "id" | "users" | "groups" | "title">
style?: CSSProperties & {
    buttonBordered?: boolean;
    buttonDark?: boolean;
    buttonLight?: boolean;
}
swr: {
    mutateOneProject?: (project: IFrontMutateProjectsItem) => Promise<void>;
    mutateOneWorkspace?: (
        workspace: IFrontMutateWorkspacesItem,
    ) => Promise<void>;
    mutateUser?: (user: IFrontMutateUser) => Promise<void>;
}
userModel?: Pick<IFrontUserModel, "id" | "users" | "groups" | "model">
workspace?: Pick<IFrontWorkspacesItem, "id" | "name" | "users" | "groups">