Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Export CalendarContainer for parity with react-datetime for custom te…
Browse files Browse the repository at this point in the history
…ther solution.
  • Loading branch information
NateRadebaugh committed Mar 20, 2019
1 parent e5d5dd2 commit cd22c10
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import CalendarContainer from "./CalendarContainer";
import RawCalendarContainer from "./CalendarContainer";
import startOfMonth from "date-fns/start_of_month";
import isDate from "date-fns/is_date";
import isDateValid from "date-fns/is_valid";
Expand All @@ -14,6 +14,9 @@ import toUtc from "./toUtc";
import fromUtc from "./fromUtc";
import noop from "./noop";

export * from "./CalendarContainer";
export const CalendarContainer = RawCalendarContainer;

/*
The view mode can be any of the following strings.
*/
Expand Down

0 comments on commit cd22c10

Please sign in to comment.