import { forwardRef } from 'react';
import cx from "../../../../utils/css/cx.js";
import classes from './styles.module.scss';
const DefaultCloseButton = forwardRef((props, ref) => {
  const {
    title,
    ...buttonProps
  } = props;
  return <button className={classes.button} type="button" ref={ref} {...buttonProps}>
      <span className={cx('sr-only')}>{title}</span>
    </button>;
});
export default DefaultCloseButton;