<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>matsutoba</author_name>
  <author_url>https://blog.hatena.ne.jp/matsutoba/</author_url>
  <blog_title>matsutoba’s blog</blog_title>
  <blog_url>https://matsutoba.hateblo.jp/</blog_url>
  <categories>
    <anon>React</anon>
  </categories>
  <description>Reactのアプリを作るときにきれいなアイコンを使いたい時は、いつもFontAwesomeを設定して使っていましたが、もっと簡単にいろいろなアイコンを使うことができるライブラリがありました。 react-icons www.npmjs.comこちらのページから対応しているアイコンと必要なimportが書いてあります。たとえばFontAwesome5の場合は、説明ページを引用すると以下のように記述することができます。 import { FaBeer } from 'react-icons/fa'; class Question extends React.Component { render()…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmatsutoba.hateblo.jp%2Fentry%2F2023%2F04%2F01%2F152656&quot; title=&quot;Reactで簡単にアイコンを使いたい - matsutoba’s blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-01 15:26:56</published>
  <title>Reactで簡単にアイコンを使いたい</title>
  <type>rich</type>
  <url>https://matsutoba.hateblo.jp/entry/2023/04/01/152656</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
