متن تست کد جدید جدید
typescript
2import { FC, ReactElement } from "react";
3import SyntaxHighlighter from "react-syntax-highlighter";
4
5import { githubDark } from "./theme/github-dark";
6import { CopyButton } from "./copy-button";
7import { CodeTitle } from "./code-title";
8
9type Props = {
10 language: string;
11 showLineNumbers: boolean;
12 code: string;
13 fileName: string;
14 startingLineNumber: number;
15};
index.tsx
import { githubDark } from "./theme/github-dark";
import { CopyButton } from "./copy-button";
import { CodeTitle } from "./code-title";
