@@ -112,7 +114,13 @@ function LineRows({ rows, stylesheet, useInlineStyles }: LineRendererProps) {
});
}
-export default function JsonEditor({ value, onChange, validation }: JsonEditorProps) {
+export default function JsonEditor({
+ value,
+ onChange,
+ validation,
+ label = "System One JSON payload",
+ placeholder = "Paste or write a System One request",
+}: JsonEditorProps) {
const issuesId = useId();
const highlightRef = useRef