konstantin-paulus 2bb2add67b Update JSX elements to PascalCase and enhance type handling in documentation
Refactored JSX elements from lowercase to PascalCase, including `<scene>` to `<Scene>`, `<text>` to `<Text>`, and others, to improve consistency and clarity in the codebase. Updated related documentation to reflect these changes, ensuring that the usage of JSX elements aligns with the new naming conventions. This update enhances the overall readability and usability of the JSX API.
2026-07-19 20:25:33 +02:00

650 B

<Group>

A container with a transform but no dimensions of its own: a group derives its box from its children, and they are positioned relative to it.

<Group x={100} y={100}>
  {/* children */}
</Group>

Props

A group takes only transform (x, y, rotation, opacity) and timing (start, end) props (see common props and timing.md). It has no fill and no explicit width / height, and takes no paint children: its size is auto-fit from its children. When timing is omitted, a group spans its children in time as well (see timing.md).