kripod / kripod/react-polymorphic-types
`type` does not exist on `button` element
Open
- Dominant language
- No language data
- Stars
- 197
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Should I get type for `type` as it's a native prop for button-element, or am I doing it wrong?
https://codesandbox.io/s/still-sun-ctc81?file=/src/App.tsx
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked CodeSandbox at src/App.tsx and reproduce the missing `type` prop on the button element. Trace how the polymorphic component definitions are applied there, then verify that the native button `type` prop is accepted without introducing type errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100