15 lines
No EOL
287 B
TypeScript
15 lines
No EOL
287 B
TypeScript
import React from "react";
|
|
|
|
interface Props {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
const Card = ({ children }: Props) => {
|
|
return (
|
|
<div className="w-full border-2 border-secondary p-2 pl-4 my-2 rounded flex">
|
|
{ children }
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Card |