@opendatasoft/visualizations-react
Version:
Opendatasoft's React wrapper for visualization components.
50 lines (49 loc) • 1.1 kB
TypeScript
declare const _default: ({
title: string;
price: number;
content: string;
datePublished: string;
isFeatured: boolean;
wordCount: number;
readingTime: number;
url: string;
geopoint: [number, number];
region: string;
geoshape: string;
image: {
exif_orientation: number;
thumbnail: boolean;
filename: string;
format: string;
width: number;
id: string;
height: number;
color_summary: string[];
url: string;
};
} | {
title: string;
price: undefined;
content: null;
datePublished: undefined;
isFeatured: null;
wordCount: undefined;
readingTime: null;
url: undefined;
geopoint: undefined;
geoshape: undefined;
image: undefined;
} | {
title: string;
price?: undefined;
content?: undefined;
datePublished?: undefined;
isFeatured?: undefined;
wordCount?: undefined;
readingTime?: undefined;
url?: undefined;
geopoint?: undefined;
geoshape?: undefined;
image?: undefined;
})[];
export default _default;