import { pages } from "@app-artisans/neoAdmin";
import { loginRequest } from "utils/requests";
// We expose a Login component for you that
// handles email and password submission
const { Login } = pages;
const headers = {
type: "Page",
options: {
name: "Login",
route: {
path: "/",
unAuth: true,
auth: false,
exact: true,
component: (props) => <Login {...props} onSubmit={loginRequest} />,
},
},
};
export default headers;
Do you want to build a project with our library but don't have the resources to do it?
If you don't have time or you can't find developers we can also help you on that. You just need to get in contact with us and briefly explain us your case and we might: