Typed Polymorphic React Component 記事 海外 2026年6月19日 Kitty Giraudel Reactコンポーネントで複数のHTML要素に対応させながら、TypeScriptの型システムで安全性を保つ実装方法を解説している。 #React share シェア