Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 516 Bytes
import * as React from "react"
export {
default as Link,
GatsbyLinkProps,
navigate,
navigateTo,
push,
replace,
withPrefix,
} from "gatsby-link"
type RenderCallback = (data: any) => React.ReactNode
export interface StaticQueryProps {
query: any
render?: RenderCallback
children?: RenderCallback
}
export class StaticQuery extends React.Component<StaticQueryProps> {}
export const useStaticQuery: <TData = any>(query: any) => TData
export const graphql: (query: TemplateStringsArray) => void