'use client'; import { useState } from "react"; import PageLivingSpaceBuildsTableSection from "./builds/page"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; const PageLivingSpace = () => { const [collectionToken, setCollectionToken] = useState(null); const [buildID, setBuildID] = useState(null); const [userTypeID, setUserTypeID] = useState(null); const [partID, setPartID] = useState(null); const [companyID, setCompanyID] = useState(null); const [personID, setPersonID] = useState(null); const [isUserTypeEnabled, setIsUserTypeEnabled] = useState(false); const [isPartsEnabled, setIsPartsEnabled] = useState(false); const [isCompanyEnabled, setIsCompanyEnabled] = useState(false); const [isPersonEnabled, setIsPersonEnabled] = useState(false); const tabsClassName = "border border-gray-300 rounded-sm h-10" return <>
{JSON.stringify({ buildID, collectionToken, userTypeID, partID, companyID, personID })}
Builds {isUserTypeEnabled && User Type} {isPartsEnabled && Parts} {isCompanyEnabled && Company} {isPersonEnabled && Person}
{isUserTypeEnabled && {/* Add UserType section component here */}} {isPartsEnabled && {/* Add Parts section component here */}} {isCompanyEnabled && {/* Add Company section component here */}} {isPersonEnabled && {/* Add Person section component here */}}
} export { PageLivingSpace };