import{a as l,j as s,h as r,E as c}from"./main-343.js";import{F as n}from"./bf-838-284.js";import{e as d}from"./bf-649-79.js";function j({options:a,onClick:e}){const{css:t}=l();return s.jsx("div",{className:t(n.optionList),children:a.map((i,o)=>s.jsxs("div",{className:t(n.option),children:[s.jsx("div",{className:t(n.optionLabelInput),children:s.jsxs("span",{children:[i.lbl,i.val&&` (${i.val})`]})}),s.jsx(d,{msg:"Option Edit",children:s.jsx("button",{"data-testid":"opt-edt-btn",type:"button",onClick:e,className:t(r.icnBtn),children:s.jsx(c,{size:18})})})]},`option-${o*2}`))})}export{j as O};
