tsx-schema-markup
Version:
A package for adding schema markup to your tsx page
9 lines (8 loc) • 610 B
TypeScript
import { Dataset as DatasetSchema, DataCatalog as DataCatalogSchema, DataDownload as DataDownloadSchema } from "schema-dts";
type WithoutType<T, Type extends string> = Omit<T, "@type"> & {
"@type"?: Type;
};
export declare function Dataset(props: WithoutType<DatasetSchema, "Dataset">): import("react/jsx-runtime").JSX.Element;
export declare function DataCatalog(props: WithoutType<DataCatalogSchema, "DataCatalog">): import("react/jsx-runtime").JSX.Element;
export declare function DataDownload(props: WithoutType<DataDownloadSchema, "DataDownload">): import("react/jsx-runtime").JSX.Element;
export {};