Steve shows you how to create polymorphic components: single adaptable components that can represent different HTML elements in TypeScript.
Continue reading
Quick Tip: Creating Polymorphic Components in TypeScript
on SitePoint.