Skip to content

Commit

Permalink
Example: get own copy of moment-range factory
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed Jan 21, 2018
1 parent a9e0a9e commit f44a603
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react';

import PropTypes from 'prop-types';
import createClass from 'create-react-class';
import moment from '../src/moment-range';
import moment from './moment-range';
var fs = require('fs');
import timekeeper from 'timekeeper';
import RangePicker from '../src';
Expand Down
5 changes: 5 additions & 0 deletions example/moment-range.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import origMoment from 'moment';
import { extendMoment } from 'moment-range';
const moment = extendMoment(origMoment);

export default moment;

0 comments on commit f44a603

Please sign in to comment.