Skip to content

Commit 60f674e

Browse files
authored
Merge pull request #1745 from jdpnielsen/master
Resolve export of prop types error
2 parents 2542da6 + 97a4bb9 commit 60f674e

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

src/index.ts

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1-
export {default as Calendar, CalendarProps} from './calendar';
2-
export {default as CalendarList, CalendarListProps} from './calendar-list';
3-
export {default as Agenda, AgendaProps} from './agenda';
4-
export {default as ExpandableCalendar, ExpandableCalendarProps} from './expandableCalendar';
5-
export {default as WeekCalendar, WeekCalendarProps} from './expandableCalendar/WeekCalendar';
6-
export {default as AgendaList, AgendaListProps} from './expandableCalendar/agendaList';
1+
export {default as Calendar} from './calendar';
2+
export type {CalendarProps} from './calendar';
3+
export {default as CalendarList} from './calendar-list';
4+
export type {CalendarListProps} from './calendar-list';
5+
export {default as Agenda} from './agenda';
6+
export type {AgendaProps} from './agenda';
7+
export {default as ExpandableCalendar} from './expandableCalendar';
8+
export type {ExpandableCalendarProps} from './expandableCalendar';
9+
export {default as WeekCalendar} from './expandableCalendar/WeekCalendar';
10+
export type {WeekCalendarProps} from './expandableCalendar/WeekCalendar';
11+
export {default as AgendaList} from './expandableCalendar/agendaList';
12+
export type {AgendaListProps} from './expandableCalendar/agendaList';
713
export {default as CalendarContext} from './expandableCalendar/Context';
8-
export {default as CalendarProvider, CalendarContextProviderProps} from './expandableCalendar/Context/Provider';
14+
export {default as CalendarProvider} from './expandableCalendar/Context/Provider';
15+
export type {CalendarContextProviderProps} from './expandableCalendar/Context/Provider';
916
export {default as asCalendarConsumer} from './expandableCalendar/asCalendarConsumer';
10-
export {default as Timeline, TimelineProps, TimelineEventProps, TimelinePackedEventProps} from './timeline/Timeline';
17+
export {default as Timeline} from './timeline/Timeline';
18+
export type {TimelineProps, TimelineEventProps, TimelinePackedEventProps} from './timeline/Timeline';
1119
export {default as CalendarUtils} from './services';
1220
export {DateData, AgendaEntry, AgendaSchedule} from './types';
1321
export {default as LocaleConfig} from 'xdate';

0 commit comments

Comments
 (0)