import type { TextareaHTMLAttributes } from 'react'
import React, { forwardRef } from 'react'
export interface TextareaProps
extends TextareaHTMLAttributes {
/**
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
*/
testId?: string
/**
* Controls the resize property of the textare (e.g.: none, vertical, horizontal, both).
* Default is 'both'.
*/
resize?: 'none' | 'vertical' | 'horizontal' | 'both'
}
const Textarea = forwardRef(
function Textarea(
{ testId = 'fs-textarea', resize = 'both', ...otherProps },
ref
) {
return (
)
}
)
export default Textarea