feat: wordlists user interface
This commit is contained in:
24
src/components/ui/Textarea.tsx
Normal file
24
src/components/ui/Textarea.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import type { DetailedHTMLProps, FC, TextareaHTMLAttributes } from 'react'
|
||||
import type { MergeOmitting } from '@/types/helpers'
|
||||
import '@/components/ui/textarea.css'
|
||||
|
||||
export type TextareaProps = MergeOmitting<
|
||||
DetailedHTMLProps<
|
||||
TextareaHTMLAttributes<HTMLTextAreaElement>,
|
||||
HTMLTextAreaElement
|
||||
>,
|
||||
{
|
||||
className?: string
|
||||
}
|
||||
>
|
||||
|
||||
const Textarea: FC<TextareaProps> = ({ className, ...textareaProps }) => {
|
||||
return (
|
||||
<textarea
|
||||
className={`st-rnd-textarea${className ? ` ${className}` : ''}`}
|
||||
{...textareaProps}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export default Textarea
|
||||
Reference in New Issue
Block a user