| 3 | import { toast } from 'sonner'; |
| 4 | |
| 5 | interface CodeBlockProps { |
| 6 | block: { |
| 7 | properties: { |
| 8 | title: string[]; // Adjust this based on your actual block structure |
| 9 | }; |
| 10 | }; |
| 11 | } |
| 12 | |
| 13 | const CodeBlock: React.FC<CodeBlockProps> = ({ block }) => { |
| 14 | const code: string = block.properties.title[0].toString(); // Extract the code string |
nothing calls this directly
no outgoing calls
no test coverage detected