React JS Quiz
Home
Blog
Privacy Policy
Contact Us
React TypeScript Quiz
Which type can help type the props of a button wrapper component?
Report this question
React.ComponentProps<'button'>
Show Explanation
React.ComponentProps<'button'> gives you the standard prop types accepted by a button element.
React.RouteProps<'button'>
ButtonStringProps
HTMLElementOnly
Next Question (18/20)