feat(frontend): finished login form with validation
This commit is contained in:
18
frontend/src/components/extendedUI/LstCard.tsx
Normal file
18
frontend/src/components/extendedUI/LstCard.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import {ReactNode} from "react";
|
||||
import {Card} from "../ui/card";
|
||||
|
||||
interface LstCardProps {
|
||||
children?: ReactNode;
|
||||
className?: string;
|
||||
style?: React.CSSProperties;
|
||||
}
|
||||
|
||||
export function LstCard({children, className = "", style = {}}: LstCardProps) {
|
||||
return (
|
||||
<div className="m-auto">
|
||||
<Card className={`border-solid border-2 border-[#00659c] ${className}`} style={style}>
|
||||
{children}
|
||||
</Card>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user