UNPKG

@styleless-ui/react

Version:

Completely unstyled, headless and accessible React UI components.

1 lines 932 B
var r=this&&this.__assign||function(){return r=Object.assign||function(r){for(var t,e=1,o=arguments.length;e<o;e++)for(var a in t=arguments[e])Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a]);return r},r.apply(this,arguments)},t=this&&this.__rest||function(r,t){var e={};for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&t.indexOf(o)<0&&(e[o]=r[o]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(r);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(r,o[a])&&(e[o[a]]=r[o[a]])}return e};import{jsx as e}from"react/jsx-runtime";import{componentWithForwardedRef as o}from"../../utils";import{SeparatorItemRoot as a}from"../slots";var s=o((function(o,s){var n=o.className,l=o.separatorSymbol,i=t(o,["className","separatorSymbol"]);return e("li",r({},i,{role:"separator",ref:s,className:n,"data-slot":a},{children:l}))}));export default s;