<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>katsube</author_name>
  <author_url>https://blog.hatena.ne.jp/katsube/</author_url>
  <blog_title>ねこの足跡R</blog_title>
  <blog_url>https://blog.katsubemakito.net/</blog_url>
  <categories>
    <anon>React</anon>
    <anon>Props</anon>
    <anon>はじめてのReact</anon>
  </categories>
  <description>「はじめてのReact」一覧に戻る Componentに引数を渡せるProps これまでのサンプルでは以下のように単にタグを書くことでComponentを実行していました。これだけでも十分なパワーを持っているのですが、より汎用的なComponentにすべきPropsと呼ばれる機能を使うと、Component内部に引数を渡すことができます。 ReactDOM.render( &lt;Justnow /&gt;, document.getElementById('root') ); Componentに引数を渡せるProps 指定日までの日数を表示するComponent サンプル 実行結果 解説 Propsの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.katsubemakito.net%2Freact%2Freact1st-5-props&quot; title=&quot;はじめてのReact #5「Propsを使おう」 - ねこの足跡R&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>2018-12-25 15:54:04</published>
  <title>はじめてのReact #5「Propsを使おう」</title>
  <type>rich</type>
  <url>https://blog.katsubemakito.net/react/react1st-5-props</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
