diff --git a/frontend/src/components/listing/ListingBody.tsx b/frontend/src/components/listing/ListingBody.tsx new file mode 100644 index 00000000..7ce6c67d --- /dev/null +++ b/frontend/src/components/listing/ListingBody.tsx @@ -0,0 +1,30 @@ +import { paths } from "gen/api"; +import ListingArtifacts from "./ListingArtifacts"; +import ListingChildren from "./ListingChildren"; +import ListingDescription from "./ListingDescription"; + +type ListingResponse = + paths["/listings/{id}"]["get"]["responses"][200]["content"]["application/json"]; + +interface ListingBodyProps { + listing: ListingResponse; +} + +const ListingBody = (props: ListingBodyProps) => { + const { listing } = props; + return ( +