import BootstrapVersionSwitcher from '@/features/ui/components/bootstrap-5/bootstrap-version-switcher' import { CloseButton, CloseButtonProps } from 'react-bootstrap-5' import classNames from 'classnames' import { useTranslation } from 'react-i18next' import { forwardRef } from 'react' const OLCloseButton = forwardRef( (props, ref) => { const { t } = useTranslation() const bs3CloseButtonProps: React.ButtonHTMLAttributes = { className: classNames('close', props.className), onClick: props.onClick, onMouseOver: props.onMouseOver, onMouseOut: props.onMouseOut, 'aria-label': t('close'), } return ( } bs5={} /> ) } ) OLCloseButton.displayName = 'OLCloseButton' export default OLCloseButton