import React from 'react' import { StaticQuery, graphql } from 'gatsby' import Helmet from 'react-helmet' const TypekitScript = typekitID => ( ) const query = graphql` query { dataYaml { typekitID } } ` const Typekit = () => ( { const { typekitID } = data.dataYaml return ( typekitID && ( {TypekitScript(typekitID)} ) ) }} /> ) export default Typekit