# generaltranslation: General Translation Core SDK: JsxChild URL: https://generaltranslation.com/es/docs/core/types/jsx-child.mdx --- title: JsxChild description: Tipo de unión que representa elementos individuales dentro de JSX --- ## Resumen `JsxChild` representa un único elemento dentro de JSX. ```typescript type JsxChild = string | JsxElement | Variable; ``` ## Miembros de la unión | Tipo | Descripción | | ------------ | ------------------------------ | | `string` | Contenido de texto sin formato | | `JsxElement` | Elemento estructurado | | `Variable` | Marcador de posición dinámico | ## Ejemplos ### Tipos básicos ```typescript copy import { JsxChild, Variable } from 'generaltranslation'; // Cadena const text: JsxChild = "Welcome!"; // Variable const name: JsxChild = { k: 'userName' } as Variable; // Elemento const link: JsxChild = { t: 'a', c: ['Click here'] }; ``` ## Tipos relacionados * [`JsxChildren`](/docs/core/types/jsx-children) - Colecciones de elementos JsxChild * [`JsxElement`](/docs/core/types/jsx-element) - Elementos estructurados