# generaltranslation: General Translation Core SDK: JsxChild URL: https://generaltranslation.com/ru/docs/core/types/jsx-child.mdx --- title: JsxChild description: Тип-объединение, представляющий отдельные элементы в JSX-контенте --- ## Обзор `JsxChild` представляет собой отдельный элемент в JSX-контенте. ```typescript type JsxChild = string | JsxElement | Variable; ``` ## Члены объединения | Тип | 说明 | | ------------ | ------------------------- | | `string` | Обычный текст | | `JsxElement` | Структурированный элемент | | `Variable` | Динамический заполнитель | ## Примеры ### Основные типы ```typescript copy import { JsxChild, Variable } from 'generaltranslation'; // Строка const text: JsxChild = "Welcome!"; // Переменная const name: JsxChild = { k: 'userName' } as Variable; // Элемент const link: JsxChild = { t: 'a', c: ['Click here'] }; ``` ## Связанные типы * [`JsxChildren`](/docs/core/types/jsx-children) — Коллекции элементов JsxChild * [`JsxElement`](/docs/core/types/jsx-element) — Структурированные элементы