Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Latest commit

 

History

History
40 lines (29 loc) · 913 Bytes

File metadata and controls

40 lines (29 loc) · 913 Bytes

React Bootstrap Date&Time Range Picker

日期时间范围选择器,支持无结束时间。

npm version

view demo

Install

npm install --save react-bootstrap-datetimerange-picker

Usage

import React, { Component } from 'react';
import DateTimeRangePicker from 'react-bootstrap-datetimerange-picker';

class Body extends Component {
    constructor(props) {
        super(props);
        
        this.handleChange = (beginTime, endTime) => {
            // code...
        }
    }

    render() {
        return (
            <DateTimeRangePicker onChange={this.handleChange} />
        );
    }
}

Todo

  • Support custom Language.
  • Demo Page.