1import o from"./CpTV7Fy3.js";import{k as i}from"./C20c5uje.js";const d={title:"Components / Forms / Type / Radio",component:o,argTypes:{}},t=e=>({components:{snUiFormRadio:o},setup(){let s=["Foo","Bar"],n=i();return{args:e,options:s,selectedOption:n}},template:` 2 3 <form class="flex gap-4"> 4 <sn-ui-form-radio v-bind="args" v-for="option in options" :key="option" group="groupName" :label="option" :value="option" v-model="selectedOption" /> 5 </form> 6 7 <div v-if="selectedOption" class="absolute top-10 left-10 text-sm mt-auto font-bold">Selected: {{ selectedOption }}</div> 8 `}),p=t.bind({}),a=t.bind({});p.args={};a.args={disabled:!0};export{p as Default,a as Disabled,d as default};
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.