mirror of https://github.com/portainer/portainer
16 lines
344 B
TypeScript
16 lines
344 B
TypeScript
|
import clsx from 'clsx';
|
||
|
import { TextareaHTMLAttributes } from 'react';
|
||
|
|
||
|
export function TextArea({
|
||
|
className,
|
||
|
...props
|
||
|
}: TextareaHTMLAttributes<HTMLTextAreaElement>) {
|
||
|
return (
|
||
|
<textarea
|
||
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
||
|
{...props}
|
||
|
className={clsx('form-control', className)}
|
||
|
/>
|
||
|
);
|
||
|
}
|