UNPKG

tsx-schema-markup

Version:

A package for adding schema markup to your tsx page

10 lines (9 loc) 414 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PracticeProblem = PracticeProblem; const jsx_runtime_1 = require("react/jsx-runtime"); const structured_data_1 = require("./structured-data"); function PracticeProblem(props) { const schema = Object.assign({ "@type": "Quiz" }, props); return (0, jsx_runtime_1.jsx)(structured_data_1.StructuredData, { thing: schema }); }