[PR #255] [MERGED] Fix types for intrinsic elements #300

Closed
opened 2026-05-05 11:58:30 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kusti8/proton-native/pull/255
Author: @CKH4
Created: 1/23/2020
Status: Merged
Merged: 1/30/2020
Merged by: @kusti8

Base: masterHead: fix/jsx-intrinsic-elements-types


📝 Commits (1)

  • 72aee4c Fix types for intrinsic elements

📊 Changes

11 files changed (+128 additions, -56 deletions)

View changed files

📝 src/components/App.ts (+11 -1)
📝 src/components/Button.ts (+15 -5)
📝 src/components/Image.ts (+20 -8)
📝 src/components/PickerInternal.ts (+15 -5)
📝 src/components/RootText.ts (+7 -7)
📝 src/components/TextInput.ts (+16 -6)
📝 src/components/View.ts (+19 -9)
📝 src/components/VirtualText.ts (+6 -6)
📝 src/components/Window.ts (+14 -4)
📝 src/components/YogaComponent.ts (+1 -1)
📝 src/utils/propChecker.ts (+4 -4)

📄 Description

Intrinsic elements are now properly typed

Previously the intrinsic elements provided by proton-native (Window, View, App, VirtualText, RootText, Image, TextInput, PickerInternal, Button) had few or no types associated with them. This made it difficult to use proton-native in typescript projects


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kusti8/proton-native/pull/255 **Author:** [@CKH4](https://github.com/CKH4) **Created:** 1/23/2020 **Status:** ✅ Merged **Merged:** 1/30/2020 **Merged by:** [@kusti8](https://github.com/kusti8) **Base:** `master` ← **Head:** `fix/jsx-intrinsic-elements-types` --- ### 📝 Commits (1) - [`72aee4c`](https://github.com/kusti8/proton-native/commit/72aee4c1a5766c36b45d78ebeba927fe502ec441) Fix types for intrinsic elements ### 📊 Changes **11 files changed** (+128 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `src/components/App.ts` (+11 -1) 📝 `src/components/Button.ts` (+15 -5) 📝 `src/components/Image.ts` (+20 -8) 📝 `src/components/PickerInternal.ts` (+15 -5) 📝 `src/components/RootText.ts` (+7 -7) 📝 `src/components/TextInput.ts` (+16 -6) 📝 `src/components/View.ts` (+19 -9) 📝 `src/components/VirtualText.ts` (+6 -6) 📝 `src/components/Window.ts` (+14 -4) 📝 `src/components/YogaComponent.ts` (+1 -1) 📝 `src/utils/propChecker.ts` (+4 -4) </details> ### 📄 Description Intrinsic elements are now properly typed Previously the intrinsic elements provided by proton-native (Window, View, App, VirtualText, RootText, Image, TextInput, PickerInternal, Button) had few or no types associated with them. This made it difficult to use proton-native in typescript projects --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 11:58:30 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/proton-native#300
No description provided.