Props

interface IProps {
    swr: {
        addOneUser: (user: IFrontNewUser) => Promise<void>;
        delOneUser: (user: IFrontMutateUsersItem) => Promise<void>;
        mutateOneUser: (user: IFrontMutateUsersItem) => Promise<void>;
    };
    users: TUserItem[];
}

Properties

Properties

swr: {
    addOneUser: (user: IFrontNewUser) => Promise<void>;
    delOneUser: (user: IFrontMutateUsersItem) => Promise<void>;
    mutateOneUser: (user: IFrontMutateUsersItem) => Promise<void>;
}
users: TUserItem[]