Skip to content

Commit

Permalink
Issue jquense#449 - Fixed agenda header label
Browse files Browse the repository at this point in the history
- Added missing less plugin
- Fixed examples not rendering
  • Loading branch information
peterox committed Jul 5, 2017
1 parent 0a0a890 commit e910125
Show file tree
Hide file tree
Showing 5 changed files with 47,831 additions and 45,500 deletions.
24 changes: 16 additions & 8 deletions examples/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ localizer(globalize);
import 'react-big-calendar/lib/less/styles.less';
import './styles.less';
import './prism.less';
import Basic from './demos/basic';
import Selectable from './demos/selectable';
import Cultures from './demos/cultures';
import Popup from './demos/popup';
import Rendering from './demos/rendering';
import CustomView from './demos/customView';
import Timeslots from './demos/timeslots';
import Dnd from './demos/dnd';

let demoRoot = 'https://github.com/intljusticemission/react-big-calendar/tree/master/examples/demos'

Expand All @@ -25,14 +33,14 @@ const Example = React.createClass({
render() {
let selected = this.state.selected;
let Current = {
basic: require('./demos/basic').default,
selectable: require('./demos/selectable').default,
cultures: require('./demos/cultures').default,
popup: require('./demos/popup').default,
rendering: require('./demos/rendering').default,
customView: require('./demos/customView').default,
timeslots: require('./demos/timeslots').default,
dnd: require('./demos/dnd').default,
basic: Basic,
selectable: Selectable,
cultures: Cultures,
popup: Popup,
rendering: Rendering,
customView: CustomView,
timeslots: Timeslots,
dnd: Dnd,
}[selected];

return (
Expand Down
Loading

0 comments on commit e910125

Please sign in to comment.