Merge branch 'main' of http://192.168.1.163:3000/inmake/graff-mate-client
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { useState } from "react";
|
||||
import NewInput from "../NewInput";
|
||||
|
||||
function EditTable() {
|
||||
const [name, setName] = useState("");
|
||||
return (
|
||||
<div className='bg-[#F0F0F0] rounded-4xl w-[25vw] flex flex-col justify-center items-center'>
|
||||
<h3 className='title-s font-medium'>Редатирование стола</h3>
|
||||
<div className='bg-[url("/images/Table.png")] bg-no-repeat bg-contain bg-center w-full h-[6.944vw]'></div>
|
||||
<div className='bg-[#FFFFFF] w-full rounded-4xl p-[1.389vw]'>
|
||||
<NewInput
|
||||
placeholder='Название стола*'
|
||||
className='w-full h-[3.889vw]'
|
||||
value={name}
|
||||
onChange={(e) => setName(e.target.value)}
|
||||
isError={name.length > 20}
|
||||
errorMessage='Что-то пошло не так'
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default EditTable;
|
||||
Reference in New Issue
Block a user