"use client"; /* * Documentation: * KanbanCard — https://app.subframe.com/f023064a5ca0/library?component=KanbanCard_27235bcb-e61b-4880-9ae6-3f12d290a434 */ import React from "react"; import * as SubframeUtils from "../../utils"; export interface KanbanCardRootProps extends React.HTMLAttributes { name?: React.ReactNode; price?: React.ReactNode; topRow?: React.ReactNode; progress?: React.ReactNode; bottomStack?: React.ReactNode; hideProgress?: boolean; hideFooter?: boolean; className?: string; } const KanbanCardRoot = React.forwardRef( function KanbanCardRoot( { name, price, topRow, progress, bottomStack, hideProgress = false, hideFooter = false, className, ...otherProps }: KanbanCardRootProps, ref ) { return (
{topRow ? (
{topRow}
) : null}
{name ? ( {name} ) : null}
{price ? ( {price} ) : null}
{progress ? (
{progress}
) : null}
{bottomStack ? (
{bottomStack}
) : null}
); } ); export const KanbanCard = KanbanCardRoot;