move sdk packages to its own folder and rename api & dashboard
This commit is contained in:
11
apps/dashboard/src/components/forms/InputError.tsx
Normal file
11
apps/dashboard/src/components/forms/InputError.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
interface InputErrorProps {
|
||||
message?: string;
|
||||
}
|
||||
|
||||
export function InputError({ message }: InputErrorProps) {
|
||||
if (!message) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return <div className="mt-1 text-sm text-red-600">{message}</div>;
|
||||
}
|
||||
Reference in New Issue
Block a user