import{O as a,j as n,L as r,f as o,c as e,g as l,d as s,e as i,h as c,k as t,l as u,m as f}from"../../vendor.js";import{forwardRef as d}from"react";import{I as v}from"../Icon/index.js";var p=["className","option","renderIcon","draggable"];function m(a,n){var r=t(a);if(u){var o=u(a);n&&(o=f(o).call(o,(function(n){return c(a,n).enumerable}))),r.push.apply(r,o)}return r}function g(a){for(var n=1;n<arguments.length;n++){var r,t=null!=arguments[n]?arguments[n]:{};if(n%2)o(r=m(Object(t),!0)).call(r,(function(n){e(a,n,t[n])}));else if(l)s(a,l(t));else{var u;o(u=m(Object(t))).call(u,(function(n){i(a,n,c(t,n))}))}}return a}var j=d((function(o,e){var l,s=o.className,i=o.option,c=o.renderIcon,t=o.draggable,u=a(o,p);return n.exports.jsx("a",g(g({},u),{},{ref:e,href:"#",draggable:null!=t&&t,className:r("oak-option",s),children:c?null==c?void 0:c():"function"==typeof(null==i?void 0:i.icon)?null==i||null===(l=i.icon)||void 0===l?void 0:l.call(i):n.exports.jsx(v,{children:null==i?void 0:i.icon})}))}));export{j as O};
//# sourceMappingURL=index.js.map
