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
<head> | |
<title>Datepicker range example</title> | |
</head> | |
<body> | |
<h1>Welcome to Meteor!</h1> | |
<div class="container"> | |
{{> thingsForm }} | |
</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
'use strict'; | |
var React = require('react'); | |
var ComponentNoChildren = React.createClass({ | |
getDefaultProps: function () { | |
return { | |
Component: 'div', | |
className: 'component-no-children' | |
} | |
}, |
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
'use strict'; | |
var React = require('react'); | |
var Component = React.createComponent({ | |
getDefaultProps: function () { | |
return { | |
Component: 'div', | |
foo: 'foo', | |
bar: 'bar', |
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
// @flow | |
// file: src/FelaComponent.js | |
import * as React from 'react' | |
import { createComponent } from 'react-fela' | |
// Our basic component props, without any fela guff. | |
type PropsType = { |