Skip to content

Commit 5a0f9d4

Browse files
authored
fix(react): update react-with-typescript.md (#238)
1 parent f83f623 commit 5a0f9d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

guides/framework-integration/react-with-typescript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ You should now be able to start writing and using React components in your Elect
3030
{% tabs %}
3131
{% tab title="src/app.tsx" %}
3232
```tsx
33+
import React from 'react';
3334
import { createRoot } from 'react-dom/client';
3435

3536
const root = createRoot(document.body);

0 commit comments

Comments
 (0)