Optionaloptions: ProjectOptions<IncludeMembers, IncludeFeatures>Configuration options
The metadata for the project. members is included only when
includeMembers: true; features is included unless includeFeatures: false.
function ProjectMetadata({projectId}: {projectId: string}) {
const project = useProject({projectId})
return (
<figure style={{backgroundColor: project.metadata.color || 'lavender'}}>
<h1>{project.displayName}</h1>
</figure>
)
}
Returns metadata for a given project.