import React from 'react'; import { Badge as BadgePrimitive, BadgeProps as BadgePropsPrimitive } from '@modulz/primitives'; export type BadgeProps = BadgePropsPrimitive & { variant?: 'white' | 'red' | 'yellow' | 'blue'; size?: 'large'; } type ExtractRefType = TypesThatMayContainReactRef extends {ref?: React.Ref} ? T : unknown; type PrimitiveRefType = ExtractRefType export const Badge = React.forwardRef((props, ref) => { return ( ); });