Skip to content

Commit

Permalink
i18n(es): Update react.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
AitorMT authored Jan 25, 2025
1 parent d80527c commit c6d6565
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/content/docs/es/guides/integrations-guide/react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,20 @@ export default defineConfig({
});
```

Y añade el siguiente código al archivo `tsconfig.json`.

```json title="tsconfig.json" ins={5-8}
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"],
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react"
}
}
```

## Empezando

Para usar tu primer componente React en Astro, dirígete a nuestra [documentación de frameworks UI][astro-ui-frameworks]. Explorarás:
Expand Down

0 comments on commit c6d6565

Please sign in to comment.