refactor(gazzodown): remove ReactElement type annotations from functional components

Merged
TA
5mo ago
+48-89

⚠️ This is part 8/23 of #40796. PR for refactor/prepare-types-for-react-19-7 must be merged first.


Proposed changes (including videos or screenshots)

As a first step towards upgrading to React 19, it handles types from @types/react looking forward the next major.

Issue(s)

Task: ARCH-2170

Steps to test or reproduce

Further comments

No runtime change is expected from it.

Summary by CodeRabbit

  • Bug Fixes

    • Fixed component export name typo.
  • Refactor

    • Simplified React component type annotations across the markup rendering library. Removed explicit return type declarations from dozens of components, allowing TypeScript to automatically infer return types. All component functionality and rendering behavior remain unchanged.