mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
10 lines
354 B
TypeScript
10 lines
354 B
TypeScript
import { Textarea, TextareaProps, forwardRef } from '@chakra-ui/react';
|
|
import { stopPastePropagation } from 'common/util/stopPastePropagation';
|
|
import { memo } from 'react';
|
|
|
|
const IAITextarea = forwardRef((props: TextareaProps, ref) => {
|
|
return <Textarea ref={ref} onPaste={stopPastePropagation} {...props} />;
|
|
});
|
|
|
|
export default memo(IAITextarea);
|