This file contains 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 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 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; |
This file contains 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 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 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
/** | |
* @path src/redux/middleware | |
* | |
* Extract from clientMiddleware example in order to showcase | |
* the difference and help in understanding the same. | |
* | |
* @diff - Differences with "react-redux-universal-hot-example" | |
*/ | |
export default function firebaseMiddleware(fireRef) { | |
return ({dispatch, getState}) => { |
This file contains 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
function istraj() { | |
git checkout $1 | |
} | |
function natraj() { | |
git push $1 --force | |
} | |
function utraj() { | |
git merge $1 |