We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d90f8c0 commit 2bd5396Copy full SHA for 2bd5396
packages/react-time-picker/src/TimePicker.tsx
@@ -325,7 +325,7 @@ export type TimePickerProps = {
325
} & ClockProps &
326
Omit<EventProps, 'onChange' | 'onFocus'>;
327
328
-const TimePicker: React.FC<TimePickerProps> = function TimePicker(props) {
+export default function TimePicker(props: TimePickerProps) {
329
const {
330
amPmAriaLabel,
331
autoFocus,
@@ -638,6 +638,4 @@ const TimePicker: React.FC<TimePickerProps> = function TimePicker(props) {
638
{renderClock()}
639
</div>
640
);
641
-};
642
-
643
-export default TimePicker;
+}
0 commit comments