import { FC, HTMLAttributes } from 'react';
import { twMerge } from 'tailwind-merge';

type StackProps = HTMLAttributes<HTMLDivElement>;

export const Stack: FC<StackProps> = ({ className, children, ...props }) => {
  return (
    <div className={twMerge(`flex flex-col ${className}`)} {...props}>
      {children}
    </div>
  );
};
