mirror of
https://github.com/ditkrg/AuthorizationServerDemos.git
synced 2026-01-23 11:17:02 +00:00
15 lines
340 B
JavaScript
15 lines
340 B
JavaScript
import React from "react";
|
|
|
|
const Card = ({ children, styles = {} }) => {
|
|
return (
|
|
<div
|
|
style={{ ...styles }}
|
|
className="xl:w-1/3 lg:w-5/12 md:w-2/4 sm:w-9/12 w-11/12 flex flex-col justify-center shadow md:px-32 sm:px-28 md:py-36 sm:py-36 px-20 py-16 my-20"
|
|
>
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default Card;
|