Skip to content

Commit

Permalink
Add explicit function return types
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jun 26, 2024
1 parent 5358579 commit 2e02341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-daterange-picker/src/DateRangePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export type DateRangePickerProps = {
yearPlaceholder?: string;
} & Omit<EventProps, 'onChange' | 'onFocus'>;

export default function DateRangePicker(props: DateRangePickerProps) {
export default function DateRangePicker(props: DateRangePickerProps): React.ReactElement {
const {
autoFocus,
calendarAriaLabel,
Expand Down

0 comments on commit 2e02341

Please sign in to comment.