import type { Decorator } from '@storybook/react';
import styles from './AccordionDecorator.module.scss';

export const withAccordionStyles: Decorator = Story => (
  <div className={styles.accordionContainer}>
    <Story />
  </div>
);

/**
 * Export styles so stories can apply variant classes to AccordionItems
 */
export { styles as accordionStyles };
