mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
chore: text result extensions
This commit is contained in:
@@ -130,7 +130,13 @@ export default function PrettifyJson({ title }: ToolComponentProps) {
|
||||
inputComponent={
|
||||
<ToolTextInput title={'Input JSON'} value={input} onChange={setInput} />
|
||||
}
|
||||
resultComponent={<ToolTextResult title={'Pretty JSON'} value={result} />}
|
||||
resultComponent={
|
||||
<ToolTextResult
|
||||
title={'Pretty JSON'}
|
||||
value={result}
|
||||
extension={'json'}
|
||||
/>
|
||||
}
|
||||
initialValues={initialValues}
|
||||
getGroups={({ values, updateField }) => [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user