chore: text result extensions

This commit is contained in:
Ibrahima G. Coulibaly
2025-03-26 20:50:56 +00:00
parent ab587e60d0
commit ca7f6a6900
7 changed files with 42 additions and 25 deletions

View File

@@ -60,7 +60,13 @@ export default function MinifyJson({ title }: ToolComponentProps) {
inputComponent={
<ToolTextInput title="Input JSON" value={input} onChange={setInput} />
}
resultComponent={<ToolTextResult title="Minified JSON" value={result} />}
resultComponent={
<ToolTextResult
title="Minified JSON"
value={result}
extension={'json'}
/>
}
initialValues={initialValues}
getGroups={null}
toolInfo={{