import React, { useState } from "react"; import RenameInput from "../../../ui/inputs/RenameInput"; import Vector3Input from "../customInput/Vector3Input"; const ZoneProperties: React.FC = () => { const [Edit, setEdit] = useState(false); function handleSetView() { setEdit(false); } function handleEditView() { if (Edit) { setEdit(false); } else { setEdit(true); } } return (
{Edit ? "Cancel" : "Edit"}
{}} header="Viewport Target" /> {}} header="Viewport Position" /> {Edit && (
Set View
)}
); }; export default ZoneProperties;