test(front end): added in card test but removing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {ReactNode} from "react";
|
||||
import {Card} from "../ui/card";
|
||||
import { ReactNode } from "react";
|
||||
import { Card } from "../ui/card";
|
||||
|
||||
interface LstCardProps {
|
||||
children?: ReactNode;
|
||||
@@ -7,12 +7,17 @@ interface LstCardProps {
|
||||
style?: React.CSSProperties;
|
||||
}
|
||||
|
||||
export function LstCard({children, className = "", style = {}}: LstCardProps) {
|
||||
export function LstCard({
|
||||
children,
|
||||
className = "",
|
||||
style = {},
|
||||
}: LstCardProps) {
|
||||
return (
|
||||
<div className="m-auto">
|
||||
<Card className={`border-solid border-1 border-[#00659c] ${className}`} style={style}>
|
||||
{children}
|
||||
</Card>
|
||||
</div>
|
||||
<Card
|
||||
className={`border-solid border-1 border-[#00659c] ${className}`}
|
||||
style={style}
|
||||
>
|
||||
{children}
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user