UNPKG

@sikka/hawa

Version:

Modern UI Kit made with Tailwind

32 lines (29 loc) 649 B
"use client"; // elements/separator/Separator.tsx import * as React from "react"; // util/index.ts import { clsx } from "clsx"; import { twMerge } from "tailwind-merge"; function cn(...inputs) { return twMerge(clsx(inputs)); } // elements/separator/Separator.tsx var Separator = ({ className, orientation = "horizontal", ...props }) => /* @__PURE__ */ React.createElement( "div", { className: cn( "hawa-shrink-0 hawa-bg-border", orientation === "horizontal" ? "hawa-h-[1px] hawa-w-full" : "hawa-h-full hawa-w-[1px]", className ), ...props } ); export { Separator }; //# sourceMappingURL=index.mjs.map