Jeremy Liberman
2017-07-24 6daddbaf190461d54422a311d18f782830ff6dd7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import React, { Component } from 'react'
import 'react-datetime/css/react-datetime.css'
 
import CustomizableExample from './CustomizableExample'
import OpenExample from './OpenExample'
import ValidatedExample from './ValidatedExample'
 
export default class App extends Component {
  render() {
    return (
      <div>
        <nav className="navbar navbar-inverse navbar-static-top">
          <div className="container">
            <a
              className="navbar-brand"
              href="https://github.com/YouCanBookMe/react-datetime"
              target="_blank"
              rel="noopener noreferrer"
            >react-datetime</a>
          </div>
        </nav>
 
        <div className="container">
          <div className="jumbotron">
            <h2>react-datetime</h2>
            <p>
              A lightweight but complete datetime picker react component.
            </p>
          </div>
 
          <div className="row">
            <div className="col-xs-4">
              <CustomizableExample />
            </div>
            <div className="col-xs-4">
              <OpenExample />
            </div>
            <div className="col-xs-4">
              <ValidatedExample />
            </div>
          </div>
        </div>
      </div>
    );
  }
}