mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
feat: added border
This commit is contained in:
parent
d537fa77ed
commit
bced7e4fcb
@ -1,7 +1,7 @@
|
|||||||
import { Field } from 'formik'
|
import { Field } from 'formik'
|
||||||
|
|
||||||
const TextArea = ({ name, placeholder }:TextAreaProps):JSX.Element => {
|
const TextArea = ({ name, placeholder }:TextAreaProps):JSX.Element => {
|
||||||
return <Field as='textarea' name={name} className='text-black dark:bg-very-black dark:text-white w-full rounded px-4 py-3 relative min-h-2 max-h-3 outline-none' placeholder={placeholder} />
|
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-2 max-h-3 outline-none' placeholder={placeholder} />
|
||||||
}
|
}
|
||||||
|
|
||||||
interface TextAreaProps {
|
interface TextAreaProps {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user