import { Badge as BSBadge, BadgeProps as BSBadgeProps } from 'react-bootstrap-5' import { MergeAndOverride } from '../../../../../../types/utils' export type BadgeProps = MergeAndOverride< BSBadgeProps, { prepend?: React.ReactNode badgeContentRef?: React.RefObject } > function Badge({ prepend, children, badgeContentRef, ...rest }: BadgeProps) { return ( {prepend && {prepend}} {children} ) } export default Badge