A generic close button for dismissing content like modals and alerts.
Provide an option to dismiss or close a component with <CloseButton>
.
<CloseButton className="btn-close"/>
Bootstrap adds relevant styling to a disabled close button to prevent user interactions.
<CloseButton className="btn-close" disabled />
Change the default dark color to white using variant="white"
.
<div className="bg-dark p-3"><CloseButton className="btn-close" variant="white" /><CloseButton className="btn-close" variant="white" disabled /></div>
Made by Codescandy
Destributed by ThemeWagon