import { formOptions } from "@tanstack/react-form";

export const userFormOptions = (user: any) => {
    return formOptions({
        defaultValues: {
            username: user.username,
            password: "",
            email: user.email,
            role: user.role,
            //hobbies: [],
        },
        // } as Person,
    });
};
