import React from 'react';
import { jsx as _jsx } from "react/jsx-runtime";
/**
 * A helper to render a script tag with JSON-LD structured data.
 *
 * @param structuredData - Helper to render the JSON-LD object.
 * @param space          - Add whitespace and indentation to the serialized output.
 *
 * @returns - A script tag to JSON-LD structured data.
 */
export default function renderScriptTag(structuredData, space) {
  return /*#__PURE__*/_jsx("script", {
    type: "application/ld+json",
    children: JSON.stringify(structuredData, null, space)
  });
}