import { useSpacing } from '@mobily/stacks';
import React, { PropsWithChildren } from 'react';
import { useColorRoles } from '../theme/colorSystem';
import CardColorRolesProvider from './croles/CardColorRolesProvider';
import BoxNucleon from './nucleons/BoxNucleon';
import TextRoleNucleon from './nucleons/TextRoleNucleon';
import { PropsWithStyle } from './nucleons/types';
import UIFigureTitleAtom from './UIFigureTitleAtom';
export type UICardContainerProps = PropsWithStyle<
PropsWithChildren<{ title?: string; caption?: string }>
>;
function UICardInner({ children, style, caption }: UICardContainerProps) {
const borderBottomWidth = useSpacing(2);
const { surface } = useColorRoles();
const cardBg = surface.background;
return (
{children}
{!!caption && (
{caption}
)}
);
}
export default function UICardContainer(props: UICardContainerProps) {
return (
<>
{props.title && }
>
);
}