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