Skip to content

Commit d8c7da0

Browse files
committed
added a jsdoc to the queryOptions param
1 parent 7842106 commit d8c7da0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/react-components/code-sample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ type CodeSampleProps = {
2222
/** The language of the code sample that you would like to fetch. */
2323
language: Language;
2424

25+
/** The options for the TanStack query that fetches the code snippet. */
2526
queryOptions?: QueryHookOptions<CodeSamplesGetQueryData>;
2627

2728
/** The component to render if there is an error fetching the code sample. */

0 commit comments

Comments
 (0)