import React from "react" import { Flex, Text } from "theme-ui" import { formatRoute } from "../../utils/format-route" const Route = ({ method, path }) => { const fixedMethod = method.toUpperCase() return ( {fixedMethod} {formatRoute(path)} ) } export default Route