category attibute
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { type FC, type InputHTMLAttributes } from 'react'
|
||||
import { type FC } from 'react'
|
||||
import Error from './Error'
|
||||
import { clx } from '../helpers/utils'
|
||||
|
||||
type Props = {
|
||||
label?: string,
|
||||
error_text?: string
|
||||
} & InputHTMLAttributes<HTMLTextAreaElement>
|
||||
} & React.TextareaHTMLAttributes<HTMLTextAreaElement>
|
||||
|
||||
const Textarea: FC<Props> = (props: Props) => {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user