usestaticquery in class component code example Example: usestaticquery gatsby import { useStaticQuery, graphql } from "gatsby"