Skip to content

Commit c5aea0d

Browse files
committed
[#57] ♻️ Update props based on design changes
1 parent 273ed63 commit c5aea0d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/common/textarea/TextArea.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ import { twMerge } from 'tailwind-merge'
44
export interface TextAreaProps
55
extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
66
fullWidth?: boolean
7-
size?: 'sm' | 'md' | 'lg'
7+
size?: 'md' | 'lg'
88
}
99

1010
const baseStyles =
1111
'text-body-1 resize-none rounded-12 border-1 border-gray-200 p-12 font-medium text-gray-800 placeholder:text-gray-500'
1212

1313
export const TextArea = ({
1414
fullWidth = false,
15-
size = 'sm',
15+
size = 'md',
1616
value,
1717
placeholder,
1818
className = '',
@@ -23,7 +23,6 @@ export const TextArea = ({
2323
clsx(
2424
{
2525
'w-full': fullWidth,
26-
'h-98': size === 'sm',
2726
'h-104': size === 'md',
2827
'h-140': size === 'lg',
2928
},

0 commit comments

Comments
 (0)