This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import dateFns from "date-fns"; | |
class Calendar extends React.Component { | |
state = { | |
currentMonth: new Date(), | |
selectedDate: new Date() | |
}; | |
renderHeader() {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import dateFns from "date-fns"; | |
class Calendar extends React.Component { | |
state = { | |
currentMonth: new Date(), | |
selectedDate: new Date() | |
}; | |
renderHeader() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import Calendar from "./components/Calendar"; | |
import "./App.css"; | |
class App extends React.Component { | |
render() { | |
return ( | |
<div className="App"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import dateFns from "date-fns"; | |
class Calendar extends React.Component { | |
render() { | |
return ( | |
<div> | |
<div>Header</div> | |
<div>Days</div> | |
<div>Cells</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* FONT IMPORTS */ | |
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700); | |
@import url(https://fonts.googleapis.com/icon?family=Material+Icons); | |
.icon { | |
font-family: 'Material Icons', serif; | |
font-style: normal; | |
display: inline-block; | |
vertical-align: middle; |