kripod / kripod/react-polymorphic-types

`type` does not exist on `button` element

Open
#9 1 comment 3 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.