@next/third-parties
Version:
`@next/third-parties` is a collection of components and utilities that can be used to efficiently load third-party libraries into your Next.js application.
10 lines (9 loc) • 385 B
TypeScript
import React from 'react';
export type ScriptEmbed = {
html?: string | null;
height?: string | number | null;
width?: string | number | null;
children?: React.ReactElement | React.ReactElement[];
dataNtpc?: string;
};
export default function ThirdPartyScriptEmbed({ html, height, width, children, dataNtpc, }: ScriptEmbed): import("react/jsx-runtime").JSX.Element;