function AccordionBody(props) {
  const {
    className,
    cssModule,
    tag: Tag = 'div',
    innerRef,
    children,
    accordionId,
    ...attributes
  } = props;

  const { open } = useContext(AccordionContext);

  const classes = mapToCssModules(
    classNames(className, 'accordion-collapse'),
    cssModule,
  );

  return (
    <Collapse
      {...attributes}
      className={classes}
      ref={innerRef}
      isOpen={
        Array.isArray(open) ? open.includes(accordionId) : open === accordionId
      }
    >
      <Tag className="accordion-body">{children}</Tag>
    </Collapse>
  );
}
Set a custom element for this component