We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7842106 commit d8c7da0Copy full SHA for d8c7da0
src/react-components/code-sample.tsx
@@ -22,6 +22,7 @@ type CodeSampleProps = {
22
/** The language of the code sample that you would like to fetch. */
23
language: Language;
24
25
+ /** The options for the TanStack query that fetches the code snippet. */
26
queryOptions?: QueryHookOptions<CodeSamplesGetQueryData>;
27
28
/** The component to render if there is an error fetching the code sample. */
0 commit comments