1/*--------------------------------------------------------------------------------------------- 2 * Copyright (c) Microsoft Corporation. All rights reserved. 3 * Licensed under the MIT License. See License.txt in the project root for license information. 4 *--------------------------------------------------------------------------------------------*/ 5 6import { PromptElement } from '@vscode/prompt-tsx'; 7 8/** 9 * @deprecated Workaround for a prompt-tsx issue which has since been fixed 10 * See https://github.com/microsoft/vscode-prompt-tsx/issues/90 and https://github.com/microsoft/vscode-prompt-tsx/pull/94 11 */ 12export class CompositeElement extends PromptElement { 13 render() { 14 return <>{this.props.children}</>; 15 } 16} 17 18