UNPKG

@cgi-learning-hub/ui

Version:

@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features

56 lines (55 loc) 1.12 kB
import { jsx as o } from "react/jsx-runtime"; import { F as l, R as t } from "../../Radio-DiyDpiVL.js"; import { C as r } from "../../Checkbox-RxHWtafR.js"; import { S as a } from "../../Switch-BgZUmsKc.js"; const n = (e) => /* @__PURE__ */ o(l, { ...e }), d = { title: "Components/FormControlLabel", component: n, argTypes: { control: { control: "object" }, disabled: { control: "boolean" }, disableTypography: { control: "boolean" }, label: { control: "object" }, labelPlacement: { control: "select", options: ["bottom", "end", "start", "top"] }, required: { control: "boolean" } } }, m = { args: { control: /* @__PURE__ */ o(r, {}), checked: void 0, disabled: void 0, disableTypography: void 0, label: "Label", labelPlacement: "end", required: void 0 } }, p = { args: { control: /* @__PURE__ */ o(t, {}), label: "Label" } }, h = { args: { control: /* @__PURE__ */ o(a, {}), label: "Label" } }; export { m as Checkbox, p as Radio, h as Switch, d as default };