import React from 'react';
interface HTMLProps {
body: string;
bodyAttributes?: Record;
headComponents?: React.ReactNode[];
htmlAttributes?: Record;
postBodyComponents?: React.ReactNode[];
preBodyComponents?: React.ReactNode[];
}
export default function HTML({
body,
bodyAttributes,
headComponents,
htmlAttributes,
postBodyComponents,
preBodyComponents
}: HTMLProps): JSX.Element {
return (
{headComponents}
{preBodyComponents}
{postBodyComponents}
);
}