@cgi-learning-hub/ui
Version:
@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features
2 lines (1 loc) • 891 B
JavaScript
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),r=require("../../FormLabel-ByYWZh7M.cjs"),t=require("../../RadioGroup-BlkHQVRF.cjs"),e=require("../../Radio-DzKwkI68.cjs"),a=l=>o.jsxs(r.FormControl,{children:[o.jsx(r.FormLabel,{id:"radio-buttons-group-label",children:"Label"}),o.jsxs(t.RadioGroup,{"aria-labelledby":"radio-buttons-group-label",defaultValue:"first",name:"radio-buttons-group",...l,children:[o.jsx(e.FormControlLabel,{value:"first",control:o.jsx(e.Radio,{}),label:"First"}),o.jsx(e.FormControlLabel,{value:"second",control:o.jsx(e.Radio,{}),label:"Second"}),o.jsx(e.FormControlLabel,{value:"third",control:o.jsx(e.Radio,{}),label:"Third"})]})]}),s={title:"Components/RadioGroup",component:a},n={args:{row:!1}},i={args:{row:!0}};exports.Default=n;exports.Row=i;exports.default=s;