mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
14 lines
443 B
TypeScript
14 lines
443 B
TypeScript
import { Field } from 'formik'
|
|
|
|
const TextArea = ({ name, placeholder }:TextAreaProps):JSX.Element => {
|
|
return <Field as='textarea' name={name} className='border border-grey-light dark:border-transparent text-black dark:bg-very-black dark:text-white w-full rounded px-4 py-3 relative min-h-3 resize-none outline-none' placeholder={placeholder} />
|
|
}
|
|
|
|
interface TextAreaProps {
|
|
name: string
|
|
placeholder?: string
|
|
}
|
|
|
|
export default TextArea
|
|
|