# graphql-syntax-highlighter-react **Repository Path**: mirrors_simPod/graphql-syntax-highlighter-react ## Basic Information - **Project Name**: graphql-syntax-highlighter-react - **Description**: A React component for GraphQL syntax highlighting - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-10-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GraphQL syntax highlighting React component ## Installation ```bash yarn add react-graphql-syntax-highlighter ``` ## Example usage ```tsx import { GraphQLCodeBlock } from 'react-graphql-syntax-highlighter'; import 'react-graphql-syntax-highlighter/style.css'; const MyComponent = ({ code }: { code: string }) => ( ); ``` The component takes two props: `className` and `src`. `src` is a GraphQL query string.