A React and Chakra UI close button component.
npm install @chakra-ui/close-buttonCloseButton is essentially a button with a close icon. It is used to handle the
close functionality in feedback and overlay components like Alerts, Toasts,
Drawers and Modals.
``sh
yarn add @chakra-ui/close-button
npm i @chakra-ui/close-button
`
`jsx`
import { CloseButton } from "@chakra-ui/close-button"
`jsx`
Pass the isDisabled prop to put the close button component in a disabled
state.
`jsx`
Pass the size prop to adjust the size of the close button. Values can be sm, md
or lg.
`jsx``
<>
>