Listening Convo Edit and a bunch of ts errors
This commit is contained in:
@@ -5,6 +5,7 @@ interface Props {
|
||||
onChange: (value: string) => void;
|
||||
className?: string;
|
||||
placeholder?: string;
|
||||
disabled?: boolean;
|
||||
onBlur?: () => void;
|
||||
}
|
||||
|
||||
@@ -12,6 +13,7 @@ const AutoExpandingTextArea: React.FC<Props> = ({
|
||||
value,
|
||||
className = 'w-full cursor-text px-7 py-8 input border-2 border-mti-gray-platinum bg-white rounded-3xl',
|
||||
placeholder = "Enter text here...",
|
||||
disabled = false,
|
||||
onChange,
|
||||
onBlur,
|
||||
}) => {
|
||||
@@ -45,6 +47,7 @@ const AutoExpandingTextArea: React.FC<Props> = ({
|
||||
placeholder={placeholder}
|
||||
style={{ overflow: 'hidden', resize: 'none' }}
|
||||
onBlur={onBlur}
|
||||
disabled={disabled}
|
||||
autoFocus
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user