import * as React from 'react' ; import type { PageProps } from 'gatsby' ; import Greeting from '../components/Greeting' ; type IndexPageProps = PageProps ; const IndexPage = ( ) => { return ( < div > < Greeting name = "World" / > < /div>); } ; export default IndexPage ;