import{N as a,j as n,K as r,f as o,_ as l,g as e,d as s,a as i,c,k as t,i as u,l 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){l(a,n,t[n])}));else if(e)s(a,e(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,l){var e,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:l,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===(e=i.icon)||void 0===e?void 0:e.call(i):n.exports.jsx(v,{children:null==i?void 0:i.icon})}))}));export{j as O};
//# sourceMappingURL=index.js.map
