import React from 'react'; import { Card as CardPrimitive, CardProps as CardPropsPrimitive } from '@modulz/primitives'; export type CardProps = CardPropsPrimitive & { variant?: 'border' | 'ghost'; } type ExtractRefType = TypesThatMayContainReactRef extends {ref?: React.Ref} ? T : any; type PrimitiveRefType = ExtractRefType export const Card = React.forwardRef((props, ref) => { return ( ); });