0x2529

How define a generic component in react typeScript
Blog icon0x2529
Nov 11
Using we don’t need set default Propinterface IProps<T> { title: T } export const BaseTable = <T,>({ title }: IProps<T>) => {}

0x2529

Written by
0x2529

Web3 Engineer

Subscribe

2025 Paragraph Technologies Inc

PopularTrendingPrivacyTermsHome
Search...Ctrl+K
Subscribe