From e03a44e39a16a58004d21891a4423342d2d58ad9 Mon Sep 17 00:00:00 2001 From: healtheloper Date: Thu, 12 Oct 2023 18:35:42 +0900 Subject: [PATCH 1/3] =?UTF-8?q?Input=20=EC=9D=98=20useId=20=EB=A5=BC=20rea?= =?UTF-8?q?ct=20=EC=A0=9C=EA=B3=B5=20=ED=95=A8=EC=88=98=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=ED=96=88=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/co-design-core/src/components/Input/Input.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 && ( -