Skip to content
Snippets Groups Projects

Merge develop to main

Merged Aggarwal Himanshu requested to merge develop into main
1 file
+ 15
0
Compare changes
  • Side-by-side
  • Inline
+ 15
0
import React from "react";
function Input({ placeholder, type, onChange, initialValue }) {
return (
<input
className="w-full h-12 text-base focus:ring-indigo-500 focus:border-indigo-500 border-1 border-transparent font-semibold outline-none dark:text-white px-3 pr-3 rounded-2xl bg-dark-800"
placeholder={placeholder}
type={type ? type : "text"}
onChange={onChange}
defaultValue={initialValue || ""}
></input>
);
}
export default Input;
Loading