forked from onefinestay/react-daterange-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2012edb
commit 08c5dac
Showing
14 changed files
with
129 additions
and
132 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
"use strict"; | ||
import React from 'react/addons'; | ||
|
||
var React = require('react/addons'); | ||
|
||
var GithubRibbon = React.createClass({ | ||
render: function() { | ||
var style = { | ||
const GithubRibbon = React.createClass({ | ||
render() { | ||
const style = { | ||
position: 'absolute', | ||
top: 0, | ||
right: 0, | ||
border: 0 | ||
border: 0, | ||
}; | ||
|
||
return ( | ||
<a href="https://github.com/onefinestay/react-daterange-picker"> | ||
<img style={style} src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" /> | ||
</a> | ||
); | ||
} | ||
}, | ||
}); | ||
|
||
module.exports = GithubRibbon; | ||
export default GithubRibbon; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
"use strict"; | ||
import React from 'react/addons'; | ||
|
||
var React = require('react/addons'); | ||
|
||
var Header = React.createClass({ | ||
render: function() { | ||
const Header = React.createClass({ | ||
render() { | ||
return ( | ||
<header className="header"> | ||
<h1 className="header__title">React Daterange Picker</h1> | ||
</header> | ||
); | ||
} | ||
}, | ||
}); | ||
|
||
module.exports = Header; | ||
export default Header; |
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
Oops, something went wrong.