@vela-ui/react
Version:
Vela UI React components
3 lines (2 loc) • 951 B
JavaScript
"use client"
;"use client";var e=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var c=(a,r)=>{for(var o in r)e(a,o,{get:r[o],enumerable:!0})},h=(a,r,o,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of f(r))!S.call(a,t)&&t!==o&&e(a,t,{get:()=>r[t],enumerable:!(p=l(r,t))||p.enumerable});return a};var m=a=>h(e({},"__esModule",{value:!0}),a);var V={};c(V,{Separator:()=>P});module.exports=m(V);var n=require("react-aria-components"),i=require("tailwind-variants"),s=require("react/jsx-runtime"),u=(0,i.tv)({base:"bg-border shrink-0 border-none",variants:{orientation:{horizontal:"h-px w-full",vertical:"h-full w-px"}},defaultVariants:{orientation:"horizontal"}});function P({orientation:a,className:r,...o}){return(0,s.jsx)(n.Separator,{"data-slot":"separator",className:u({orientation:a,className:r}),...o})}0&&(module.exports={Separator});