Home page
Edit code

Render a simple calendar

import React from 'react';
import DayPicker from 'react-day-picker';

import 'react-day-picker/lib/style.css';

export default function Example() {
  return <DayPicker onDayClick={day => alert(day)} />;
}