import React, { forwardRef, HTMLAttributes } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' export interface CCloseButtonProps extends HTMLAttributes { /** * A string of all className you want applied to the base component. */ className?: string /** * Invert the default color. */ dark?: boolean /** * Toggle the disabled state for the component. */ disabled?: boolean /** * Change the default color to white. * * @deprecated 5.0.0 */ white?: boolean } export const CCloseButton = forwardRef( ({ className, dark, disabled, white, ...rest }, ref) => { return (