We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65dcba0 commit 07af78bCopy full SHA for 07af78b
src/utils.ts
@@ -82,7 +82,7 @@ export function executeTemplate(input: string, args: Record<string, string>, sec
82
}
83
84
export function getFileExtensionCT(language: PromptOptions['language'], framework: PromptOptions['framework']) {
85
- const isJsxFramework = framework === 'solid' || framework === 'react';
+ const isJsxFramework = framework === 'solid' || framework === 'react' || framework === 'react17';
86
if (isJsxFramework && language === 'JavaScript')
87
return 'jsx';
88
else if (isJsxFramework && language === 'TypeScript')
0 commit comments