import React from "react"; import { ProjectContext } from "project-editor/project/context"; //////////////////////////////////////////////////////////////////////////////// export class ConfigurationReferencesPropertyValue extends React.Component<{ value: string[] | undefined; onChange: (value: string[] | undefined) => void; readOnly: boolean; }> { static contextType = ProjectContext; declare context: React.ContextType; render() { const { readOnly } = this.props; return (
{this.props.value && (
{this.context.project.settings.build.configurations.map( configuration => { return (
); } )}
)}
); } }