gitscope
https://dev.kronoz.win/r/marzneshin.git
dashboard/src/common/components/stacks/horizontal.tsx · v0.7.1
Source
1 45e0190 Mrdn 2y ago import type { FC, PropsWithChildren, HTMLAttributes } from "react";
2 d636f3f Dawsh 2y ago import { cn } from "@marzneshin/common/utils";
3 0b152b5 Mrdn 2y ago
4 45e0190 Mrdn 2y ago export const HStack: FC<PropsWithChildren & HTMLAttributes<HTMLDivElement>> = ({
5 d636f3f Dawsh 2y ago children,
6 d636f3f Dawsh 2y ago className,
7 45e0190 Mrdn 2y ago }) => {
8 d636f3f Dawsh 2y ago return <div className={cn("flex flex-row gap-2", className)}>{children}</div>;
9 0b152b5 Mrdn 2y ago };