komponensek frissitese
This commit is contained in:
@@ -42,7 +42,7 @@ export default function LoginForm() {
|
||||
{error && (
|
||||
<div className="mb-4 text-red-600 text-center font-semibold">{error}</div>
|
||||
)}
|
||||
<form onSubmit={handleSubmit}>
|
||||
<form onSubmit={handleSubmit} className="space-y-6">
|
||||
<InputBox
|
||||
type="email"
|
||||
placeholder="Email cím"
|
||||
|
||||
@@ -54,7 +54,7 @@ export default function RegisterForm() {
|
||||
{error && (
|
||||
<div className="mb-4 text-red-600 text-center font-semibold">{error}</div>
|
||||
)}
|
||||
<form onSubmit={handleSubmit}>
|
||||
<form onSubmit={handleSubmit} className="space-y-6">
|
||||
<InputBox
|
||||
type="text"
|
||||
placeholder="Teljes név"
|
||||
|
||||
@@ -1,10 +1,27 @@
|
||||
import { useState } from "react";
|
||||
import Button from "../../components/Buttons/Button";
|
||||
import InputBox from "../../components/Inputs/InputBox";
|
||||
|
||||
export default function Test() {
|
||||
|
||||
return (
|
||||
<div className="bg-red-100 text-white p-4">
|
||||
<p className="text-piros">Test</p>
|
||||
<div className="w-full h-screen flex flex-col items-center justify-center">
|
||||
<InputBox
|
||||
placeholder="Input"
|
||||
type="text"
|
||||
width="w-1/2"
|
||||
onChange={(e) => {
|
||||
console.log(value);
|
||||
}}
|
||||
/>
|
||||
<Button
|
||||
text="Button"
|
||||
type="button"
|
||||
width="w-1/2"
|
||||
onClick={() => {
|
||||
console.log("Button clicked");
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user