gitscope
← marzneshin / v0.4.0 / dashboard/src/components/stacks/vertical.tsx
https://dev.kronoz.win/r/marzneshin.git
dashboard/src/components/stacks/vertical.tsx · TypeScript
Blame Raw
 1import type { FC, PropsWithChildren, HTMLAttributes } from "react";
 2import { cn } from "@marzneshin/utils";
 3
 4export const VStack: FC<PropsWithChildren & HTMLAttributes<HTMLDivElement>> = ({
 5  children,
 6  className,
 7  ...props
 8}) => {
 9  return (
10    <div className={cn("flex flex-col gap-2", className)} {...props}>
11      {children}
12    </div>
13  );
14};