UNPKG

@octopusdeploy/design-system-components

Version:
22 lines (21 loc) 1.15 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.BooleanRadioButton = BooleanRadioButton; const jsx_runtime_1 = require("react/jsx-runtime"); const RadioButton_1 = __importDefault(require("./RadioButton")); /* @deprecated * Deprecated: 18/08/2025 * Migration guidelines: This component is deprecated and will be removed in a future release. * This is part of our ongoing improvements to forms and input components to enhance usability and accessibility. * * Please migrate to the RadioButtonNew component where possible. * * We recognize BooleanRadioButton has different styling; if that prevents an immediate swap, you may continue using this * component until all the new form components are in place. */ function BooleanRadioButton({ isDefault, label, disabled, value, accessibleName }) { return (0, jsx_runtime_1.jsx)(RadioButton_1.default, { label: label, value: `${value}`, isDefault: isDefault, disabled: disabled, accessibleName: accessibleName }); }