From 0c40f2748161077ddaac171159dfae6bf666625a Mon Sep 17 00:00:00 2001 From: riddhybansal Date: Tue, 17 Sep 2024 15:55:11 +0530 Subject: [PATCH] fix: extended interface --- packages/react/src/components/FluidDatePicker/index.tsx | 2 +- .../FluidDatePickerInput/FluidDatePickerInput.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react/src/components/FluidDatePicker/index.tsx b/packages/react/src/components/FluidDatePicker/index.tsx index 866f962e2fe4..fcc1a8c42057 100644 --- a/packages/react/src/components/FluidDatePicker/index.tsx +++ b/packages/react/src/components/FluidDatePicker/index.tsx @@ -6,7 +6,7 @@ */ import FluidDatePicker from './FluidDatePicker'; -import { FluidDatePickerProps } from './FluidDatePicker'; +import type { FluidDatePickerProps } from './FluidDatePicker'; import { FluidDatePickerSkeletonProps } from './FluidDatePicker.Skeleton'; export type { FluidDatePickerProps, FluidDatePickerSkeletonProps }; export { default as FluidDatePickerSkeleton } from './FluidDatePicker.Skeleton'; diff --git a/packages/react/src/components/FluidDatePickerInput/FluidDatePickerInput.tsx b/packages/react/src/components/FluidDatePickerInput/FluidDatePickerInput.tsx index cff9ea89f049..b2a69d75bf0f 100644 --- a/packages/react/src/components/FluidDatePickerInput/FluidDatePickerInput.tsx +++ b/packages/react/src/components/FluidDatePickerInput/FluidDatePickerInput.tsx @@ -6,16 +6,16 @@ */ import React from 'react'; -import DatePickerInput from '../DatePickerInput'; +import DatePickerInput, { DatePickerInputProps } from '../DatePickerInput'; import { FormContext } from '../FluidForm/FormContext'; const FluidDatePickerInput = React.forwardRef(function FluidDatePickerInput( - { ...other }, + { ...other }: DatePickerInputProps, ref: React.Ref ) { return ( - + ); });