Skip to content

Commit 4e17493

Browse files
authored
fix: add missing MonthRangePicker export to components index file (#562)
Authored-by: Phillip Barkmann <[email protected]>
1 parent 9106913 commit 4e17493

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/MonthPicker/MonthRangePicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const Forward = styled(NavButton)`
7171
right: 1.5rem;
7272
`;
7373

74-
interface MonthRangePickerProps extends MarginProps, WidthProps {
74+
export interface MonthRangePickerProps extends MarginProps, WidthProps {
7575
onRangeSelect?: (start: Date | null, end: Date | null) => void;
7676
minMonth?: Date;
7777
maxMonth?: Date;

src/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export { Tag, TagProps } from './Tag/Tag';
2222
export { InlineSpinner, InlineSpinnerProps } from './InlineSpinner/InlineSpinner';
2323
export { TabBar, TabBarWithLink as TabBarProps } from './TabBar/TabBar';
2424
export { DatePicker, DateRangePicker, DateRangePickerProps, DatePickerProps, DateRange } from './Datepicker';
25+
export { MonthRangePicker, MonthRangePickerProps } from './MonthPicker';
2526
export { Divider, DividerProps } from './Divider/Divider';
2627
export { Tooltip, TooltipProps } from './Tooltip/Tooltip';
2728
export { Toggle, ToggleProps } from './Toggle/Toggle';

0 commit comments

Comments
 (0)