1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-21 14:29:40 +02:00
portainer/app/react/components/form-components/Input/Textarea.tsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
420 B
TypeScript
Raw Normal View History

import clsx from 'clsx';
import { TextareaHTMLAttributes } from 'react';
import { AutomationTestingProps } from '@/types';
export function TextArea({
className,
...props
}: TextareaHTMLAttributes<HTMLTextAreaElement> & AutomationTestingProps) {
return (
<textarea
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
className={clsx('form-control', className)}
/>
);
}