Operations dashboard screens are added
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
interface Props {
|
||||
label: string;
|
||||
value?: string;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
import { FormProps } from "@/constants/types";
|
||||
export default function FormInput({
|
||||
label,
|
||||
value,
|
||||
type = "text",
|
||||
}: Props) {
|
||||
placeholder="string"
|
||||
}: FormProps) {
|
||||
return (
|
||||
<div>
|
||||
<label className="mb-2 block text-sm text-slate-400">
|
||||
@@ -18,7 +15,10 @@ export default function FormInput({
|
||||
<input
|
||||
type={type}
|
||||
defaultValue={value}
|
||||
placeholder={placeholder}
|
||||
|
||||
className="h-10 w-full rounded-xl border border-slate-700 text-white px-5"
|
||||
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user