client,server folders

This commit is contained in:
2024-06-14 13:54:55 +05:00
parent e67512bd6d
commit 158f081b5f
649 changed files with 228 additions and 162 deletions
+25
View File
@@ -0,0 +1,25 @@
interface MasterInputProps {
placeholder: string;
isRequired: boolean;
title: string;
}
const MasterInput = ({ placeholder, isRequired, title }: MasterInputProps) => {
return (
<div className="flex flex-col">
<div className="flex pb-2">
<p className="text-[#0D192266] font-semibold text-caption-m">{title}</p>
{isRequired && <p className="text-[#E12E25] text-caption-m">*</p>}
</div>
<div className="bg-white py-[14px] px-4 rounded-lg">
<input
type="text"
className="outline-transparent outline"
placeholder={placeholder}
/>
</div>
</div>
);
};
export default MasterInput;