react-datocms
Advanced tools
Comparing version 1.0.4 to 1.0.5
/// <reference types="react" /> | ||
declare type TwitterTag = { | ||
attributes: { | ||
content: string; | ||
name: string; | ||
}; | ||
export declare type SeoMetaTagType = { | ||
tag: string; | ||
content: null; | ||
content: string | null; | ||
attributes: Record<string, string> | null; | ||
}; | ||
declare type OgTag = { | ||
attributes: { | ||
content: string; | ||
property: string; | ||
}; | ||
tag: string; | ||
content: null; | ||
}; | ||
declare type TitleTag = { | ||
attributes: null; | ||
tag: string; | ||
content: string; | ||
}; | ||
export declare type SeoMetaTagType = TitleTag | OgTag | TwitterTag; | ||
export declare type ToMetaTagsType = SeoMetaTagType[]; | ||
export declare const renderMetaTags: (data: SeoMetaTagType[]) => JSX.Element[]; | ||
export declare const renderMetaTagsToString: (data: SeoMetaTagType[]) => string; | ||
export {}; |
{ | ||
"name": "react-datocms", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
24383
278