Skip to content

Commit

Permalink
chore: TextField 컴포넌트 style, className props 가장 바깥 태그에 적용하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ghdtjgus76 committed Aug 2, 2024
1 parent a8ef8b5 commit daa6576
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/wow-ui/src/components/TextField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const TextField = forwardRef<HTMLTextAreaElement, TextFieldProps>(
};

return (
<Flex className={containerStyle()} direction="column" gap="xs">
<Flex className={containerStyle()} direction="column" gap="xs" {...rest}>
<Flex alignItems="flex-end" justifyContent="space-between">
<Label textareaId={descriptionId} variant={variant}>
{label}
Expand Down Expand Up @@ -150,7 +150,6 @@ const TextField = forwardRef<HTMLTextAreaElement, TextFieldProps>(
onBlur={handleBlur}
onChange={handleChange}
onFocus={handleFocus}
{...rest}
/>
{helperText && <HelperText variant={variant}>{helperText}</HelperText>}
</Flex>
Expand Down

0 comments on commit daa6576

Please sign in to comment.