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

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

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