import Layout from '../components/Layout' import Head from 'next/head' import Excel from '../components/Excel' import Table from '../components/Table' import LineChart from '../components/LineChart' import { MDXProvider } from '@mdx-js/react' import { Vega, VegaLite } from 'react-vega' // Custom components/renderers to pass to MDX. // Since the MDX files aren't loaded by webpack, they have no knowledge of how // to handle import statements. Instead, you must include components in scope // here. const components = { Table, Excel, Vega, VegaLite, LineChart, Head, } export default function DataLiterate({ children }) { const { Component, pageProps } = children return (

{pageProps.title}

{pageProps.author && (

{pageProps.author}

)} {pageProps.description && (

{pageProps.description}

)}
) }