chore: result file name

This commit is contained in:
Ibrahima G. Coulibaly
2025-03-26 20:24:46 +00:00
parent c3023ae4ef
commit ab587e60d0
7 changed files with 114 additions and 61 deletions

View File

@@ -86,7 +86,9 @@ export default function JsonToXml({ title }: ToolComponentProps) {
inputComponent={
<ToolTextInput title="Input Json" value={input} onChange={setInput} />
}
resultComponent={<ToolTextResult title="Output XML" value={result} />}
resultComponent={
<ToolTextResult title="Output XML" value={result} extension={'xml'} />
}
getGroups={({ values, updateField }) => [
{
title: 'Output XML Indentation',