Skip to content

Commit

Permalink
Docs(web-react): Remove redundant button from Modal With Accordion
Browse files Browse the repository at this point in the history
  * the close button in a part of the `ModalHeader`
  • Loading branch information
literat committed Sep 8, 2023
1 parent 1f5516c commit 396accf
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,7 @@ export const ModalWithAccordion = () => {
</Button>
<Modal id="ModalExample" isOpen={isOpen} onClose={handleClose}>
<ModalDialog>
<ModalHeader>
<Button
isSquare
color="tertiary"
onClick={toggleModal}
aria-expanded={isOpen}
aria-controls="#ModalExample"
>
<Icon name="close" />
</Button>
</ModalHeader>
<ModalHeader>Modal With Accordion</ModalHeader>
<ModalBody>
<UncontrolledAccordion id="AccordionExample" defaultOpen="AccordionItemExample1">
<AccordionItem id="AccordionItemExample0">
Expand Down

0 comments on commit 396accf

Please sign in to comment.