From ae050b4a5843412de83bdc218831c2fde80ee0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Tucakovi=C4=87?= Date: Mon, 6 Apr 2020 11:38:14 +0200 Subject: [PATCH 1/3] Add optional space prop to be passed to JSON.stringify --- src/json-ld.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/json-ld.tsx b/src/json-ld.tsx index ed77b9e..80c6bb7 100644 --- a/src/json-ld.tsx +++ b/src/json-ld.tsx @@ -39,13 +39,14 @@ import { Thing, WithContext } from "schema-dts"; */ export class JsonLd extends React.Component<{ item: WithContext; + space?: string | number; }> { render() { return (