Init(Core): add to repo and add seeders
This commit is contained in:
8
resources/js/Components/TextArea.jsx
Normal file
8
resources/js/Components/TextArea.jsx
Normal file
@@ -0,0 +1,8 @@
|
||||
export default function TextArea({ onChange, id, label, className, placeholder=null }) {
|
||||
return (
|
||||
<div className={"flex flex-col" + " " + className}>
|
||||
<label className="pr-3 pb-0.5">{ label }</label>
|
||||
<textarea onChange={ onChange } id={id} type="text" placeholder={placeholder} className="w-full border-gray-300 rounded-lg"></textarea>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user