<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>motomichi_works</author_name>
  <author_url>https://blog.hatena.ne.jp/motomichi_works/</author_url>
  <blog_title>Motomichi Works Blog</blog_title>
  <blog_url>https://motomichi-works.hatenablog.com/</blog_url>
  <categories>
    <anon>制作</anon>
    <anon>typescript</anon>
    <anon>nuxtjs</anon>
    <anon>vuejs</anon>
  </categories>
  <description>はじめに 以前書いた「Nuxt.js 2.x + TypeScript 4.x その0004 FontAwesomeの必要なアイコンだけ読み込んで使う - Motomichi Works Blog」みたいな感じでimportしたアイコンを、例えば自分で作ったMyComponentに渡すときにMyComponentのpropsの型はどのように設定するかという話です。 上記の記事でcomputedにfaSearchを定義していますが、これは既にIconDefinition型が設定されています。 MyComponentに渡したアイコンもIconDefinition型として扱いたいというわけです。 今…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotomichi-works.hatenablog.com%2Fentry%2F2021%2F05%2F23%2F012019&quot; title=&quot;Nuxt.js 2.x + TypeScript 4.x その0010 FontAwesome5のアイコンをpropsから渡すときの型を設定する - Motomichi Works 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>https://cdn-ak.f.st-hatena.com/images/fotolife/m/motomichi_works/20210523/20210523011958.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-23 01:20:19</published>
  <title>Nuxt.js 2.x + TypeScript 4.x その0010 FontAwesome5のアイコンをpropsから渡すときの型を設定する</title>
  <type>rich</type>
  <url>https://motomichi-works.hatenablog.com/entry/2021/05/23/012019</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
