<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yucatio</author_name>
  <author_url>https://blog.hatena.ne.jp/yucatio/</author_url>
  <blog_title>yucatio@システムエンジニア</blog_title>
  <blog_url>https://yucatio.hatenablog.com/</blog_url>
  <categories>
    <anon>React</anon>
  </categories>
  <description>前回の記事の続きです。前の月や次の月に遷移できるようにします。Reactバージョン16.8.0から登場したReact hooksを使用します。 ★前回の記事 yucatio.hatenablog.com 要件 カレンダーを表示したい 最終的にはこちらが出来上がります↓ デモ : date-fns calendar 仕様 デフォルトで今月のカレンダーを表示する 日曜日を行の一番始めにする &quot;次の月&quot;のボタンが押されたら、次の月のカレンダーを表示する &quot;前の月&quot;のボタンが押されたら、前の月のカレンダーを表示する &quot;今月&quot;のボタンが押されたら、今月のカレンダーを表示する コード 次の月、前の月、今月…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyucatio.hatenablog.com%2Fentry%2F2019%2F12%2F24%2F080550&quot; title=&quot;date-fnsを使用してカレンダー作成する(その2: React hooksを利用して月を移動する) - yucatio@システムエンジニア&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/y/yucatio/20191223/20191223081351.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-24 08:05:50</published>
  <title>date-fnsを使用してカレンダー作成する(その2: React hooksを利用して月を移動する)</title>
  <type>rich</type>
  <url>https://yucatio.hatenablog.com/entry/2019/12/24/080550</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
