# generaltranslation: General Translation Core SDK: JsxChild URL: https://generaltranslation.com/en-US/docs/core/types/jsx-child.mdx --- title: JsxChild description: Union type representing individual elements within JSX content --- ## Overview `JsxChild` represents a single element within JSX content. ```typescript type JsxChild = string | JsxElement | Variable; ``` ## Union members | Type | Description | |------|-------------| | `string` | Plain text content | | `JsxElement` | Structured element | | `Variable` | Dynamic placeholder | ## Examples ### Basic types ```typescript copy import { JsxChild, Variable } from 'generaltranslation'; // String const text: JsxChild = "Welcome!"; // Variable const name: JsxChild = { k: 'userName' } as Variable; // Element const link: JsxChild = { t: 'a', c: ['Click here'] }; ``` ## Related types * [`JsxChildren`](/docs/core/types/jsx-children) - Collections of JsxChild elements * [`JsxElement`](/docs/core/types/jsx-element) - Structured elements