UNPKG

@styleless-ui/react

Version:

Completely unstyled, headless and accessible React UI components.

1 lines 1.18 kB
"use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(r){for(var e,t=1,a=arguments.length;t<a;t++)for(var s in e=arguments[t])Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=e[s]);return r},__assign.apply(this,arguments)},__rest=this&&this.__rest||function(r,e){var t={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(t[a]=r[a]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(a=Object.getOwnPropertySymbols(r);s<a.length;s++)e.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(r,a[s])&&(t[a[s]]=r[a[s]])}return t};Object.defineProperty(exports,"__esModule",{value:!0});var jsx_runtime_1=require("react/jsx-runtime"),utils_1=require("../../utils"),slots_1=require("../slots"),BreadcrumbSeparatorItemBase=function(r,e){var t=r.className,a=r.separatorSymbol,s=__rest(r,["className","separatorSymbol"]);return(0,jsx_runtime_1.jsx)("li",__assign({},s,{role:"separator",ref:e,className:t,"data-slot":slots_1.SeparatorItemRoot},{children:a}))},BreadcrumbSeparatorItem=(0,utils_1.componentWithForwardedRef)(BreadcrumbSeparatorItemBase);exports.default=BreadcrumbSeparatorItem;