@styleless-ui/react
Version:
Completely unstyled, headless and accessible React UI components.
1 lines • 1.1 kB
JavaScript
;var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var r,t=1,s=arguments.length;t<s;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},__assign.apply(this,arguments)},__rest=this&&this.__rest||function(e,r){var t={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&r.indexOf(s)<0&&(t[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(s=Object.getOwnPropertySymbols(e);n<s.length;n++)r.indexOf(s[n])<0&&Object.prototype.propertyIsEnumerable.call(e,s[n])&&(t[s[n]]=e[s[n]])}return t};Object.defineProperty(exports,"__esModule",{value:!0});var jsx_runtime_1=require("react/jsx-runtime"),utils_1=require("../../utils"),slots_1=require("../slots"),BreadcrumbItemBase=function(e,r){var t=e.className,s=e.children,n=__rest(e,["className","children"]);return(0,jsx_runtime_1.jsx)("li",__assign({},n,{ref:r,className:t,"data-slot":slots_1.ItemRoot},{children:s}))},BreadcrumbItem=(0,utils_1.componentWithForwardedRef)(BreadcrumbItemBase);exports.default=BreadcrumbItem;