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