category attibute

This commit is contained in:
hamid zarghami
2025-09-21 15:43:48 +03:30
parent f731f8f73d
commit a18c52358b
12 changed files with 557 additions and 4 deletions
+2 -2
View File
@@ -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 (