"use client"; /* * Documentation: * Card — https://app.subframe.com/f023064a5ca0/library?component=Card_56067c50-02ce-4c7c-8866-9db30e23ecc0 */ import React from "react"; import * as SubframeUtils from "../../utils"; export interface CardRootProps extends React.HTMLAttributes { children?: React.ReactNode; size?: "extra-small" | "small" | "medium" | "large" | "extra-large"; variant?: | "default" | "neutral" | "information" | "positive" | "warning" | "negative"; className?: string; } const CardRoot = React.forwardRef( function CardRoot( { children, size = "medium", variant = "default", className, ...otherProps }: CardRootProps, ref ) { return children ? (
{children}
) : null; } ); export const Card = CardRoot;