import "./index.css"; import clsx from "clsx"; export type ColorCardProps = Pick, "id" | "className" | "children"> & { as?: "a" | "div" | "button" | "span" | "section" | "article"; href?: string; }; export function ColorCard({ as: Component, children, className, href, ...other }: ColorCardProps) { const BaseElement = Component ? Component : href ? "a" : "div"; return ( {children} ); } export function CardStepList({ children, className, ...props }: React.HTMLAttributes) { return (
{children}
); } export function CardStep({ children, className, ...props }: React.HTMLAttributes) { return (
{children}
); } export function CardColumn({ children, className, minor, ...other }: React.HTMLAttributes & { minor?: boolean }) { return (
{children}
); } export function CardDetail({ children, className, label, primary, ...other }: React.HTMLAttributes & { label?: React.ReactNode; primary?: boolean }) { return (
{label &&
{label}
}
{children}
); } export function CardLabel({ children, className, ...other }: React.HTMLAttributes) { return (
{children}
); }