# react-graphql-syntax-highlighter **Repository Path**: mirrors_simPod/react-graphql-syntax-highlighter ## Basic Information - **Project Name**: react-graphql-syntax-highlighter - **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**: 2021-01-10 - **Last Updated**: 2026-05-30 ## 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.