1import{r as m,R as h}from"./index-3e953d79.js";import{j as a,a as t}from"./react-component-loader-309b97f3.js";const b=({segments:n,value:o,onValueChange:s,className:c,small:d=!1})=>{const i=m.useId();return a("div",{className:`segmented-control ${c}`,"data-small":!!d,children:n.map((e,r)=>{const l=e.label+r+i;return t(h.Fragment,{children:[a("input",{className:"segmented-control__input",type:"radio",name:l,id:l,onChange:()=>s(e.label),checked:e.label===o}),t("label",{className:"segmented-control__label",htmlFor:l,children:[e.icon&&a("svg",{height:"18",width:"18","aria-hidden":"true",children:a("use",{href:`#icon-${e.icon}`})}),e.label]})]},r)})})};export{b as S};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.