diff --git a/packages/co-design-core/src/components/Input/Input.tsx b/packages/co-design-core/src/components/Input/Input.tsx index c9cd0f7..958dcb6 100644 --- a/packages/co-design-core/src/components/Input/Input.tsx +++ b/packages/co-design-core/src/components/Input/Input.tsx @@ -1,9 +1,8 @@ -import React, { forwardRef } from 'react'; +import React, { forwardRef, useId } from 'react'; import { useCoTheme, CoComponentProps, CoSize, PolymorphicComponentProps, PolymorphicRef, CoRadius, ClassNames } from '@co-design/styles'; import { View } from '../View'; import useStyles from './Input.style'; import { Text, TextProps } from '../Text'; -import { useId } from '@co-design/hooks'; export type InputStylesNames = ClassNames; @@ -111,7 +110,7 @@ export const Input: InputComponent & { displayName?: string } = forwardRef( return ( {label && ( -