Polymorphic React Components in TypeScript
Reusable components are one of the key concepts in React — where you write a component once and get to reuse them multiple times.
Basically your component would receive some props, You then go ahead to use these internally and then finally render som...
chizomokoye.hashnode.dev5 min read