UNPKG

@llamaindex/ui

Version:

A comprehensive UI component library built with React, TypeScript, and Tailwind CSS for LlamaIndex applications

53 lines (47 loc) 1.46 kB
'use strict'; var chunkHK7TFVDA_js = require('./chunk-HK7TFVDA.js'); var chunkORMEWXMH_js = require('./chunk-ORMEWXMH.js'); var SeparatorPrimitive = require('@radix-ui/react-separator'); var jsxRuntime = require('react/jsx-runtime'); function _interopNamespace(e) { if (e && e.__esModule) return e; var n = Object.create(null); if (e) { Object.keys(e).forEach(function (k) { if (k !== 'default') { var d = Object.getOwnPropertyDescriptor(e, k); Object.defineProperty(n, k, d.get ? d : { enumerable: true, get: function () { return e[k]; } }); } }); } n.default = e; return Object.freeze(n); } var SeparatorPrimitive__namespace = /*#__PURE__*/_interopNamespace(SeparatorPrimitive); function Separator(_a) { var _b = _a, { className, orientation = "horizontal", decorative = true } = _b, props = chunkORMEWXMH_js.__objRest(_b, [ "className", "orientation", "decorative" ]); return /* @__PURE__ */ jsxRuntime.jsx( SeparatorPrimitive__namespace.Root, chunkORMEWXMH_js.__spreadValues({ "data-slot": "separator", decorative, orientation, className: chunkHK7TFVDA_js.cn( "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className ) }, props) ); } exports.Separator = Separator;