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