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