Skip to content

Commit 55ca63e

Browse files
committed
Merge branch 'design/textInput' of https://github.com/FE9-2/workroot into design/textInput
2 parents 814f3ed + bd4e90e commit 55ca63e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/app/components/input/BaseTextArea.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ const BaseTextArea = (props: BaseTextAreaProps) => {
1313
: "bg-transparent border-[0.5px] border-grayscale-200 caret-primary-orange-300 hover:border-grayscale-300 [&:has(textarea:focus)]:border-primary-orange-300";
1414

1515
const textAreaBgStyle = props.variant === "white" ? "bg-background-200" : "bg-transparent";
16-
const textareaStyle = `${baseStyle} ${textAreaBgStyle} ${textStyle} ${props.className || ""}`;
1716

1817
const errorStyle = props.errorMessage ? "border-state-error" : "";
18+
19+
const textareaStyle = `${baseStyle} ${textAreaBgStyle} ${textStyle} ${props.className || ""}`;
20+
21+
// wrapper에 배경색과 테두리 스타일 적용
1922
const wrapperStyle = `group p-[14px] lg:py-[18px] relative rounded-lg w-[327px] lg:w-[640px] h-[132px] lg:h-[160px] ${variantStyle} ${errorStyle}`;
2023

2124
return (

0 commit comments

Comments
 (0)