pagamio-frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
15 lines (14 loc) • 566 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { Card } from 'flowbite-react';
export function AuthCard({ children, className = '', horizontal = true }) {
return (_jsx(Card, { horizontal: horizontal, className: `w-full ${className}`, theme: {
root: {
children: 'my-auto w-full gap-0 space-y-6 p-4 sm:p-6 lg:p-8',
},
img: {
horizontal: {
on: 'hidden w-2/3 rounded-l-lg md:w-96 md:p-0 lg:block',
},
},
}, children: children }));
}