@octopusdeploy/design-system-components
Version:
The design systems component library.
20 lines (19 loc) • 1.07 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RadioButton = RadioButton;
const jsx_runtime_1 = require("react/jsx-runtime");
const RadioButtonBase_1 = require("./RadioButtonBase");
/* @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 RadioButton 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 RadioButton({ isDefault, label, disabled, accessibleName, className, value, autoFocus }) {
return (0, jsx_runtime_1.jsx)(RadioButtonBase_1.RadioButtonBase, { className: className, label: label, value: value, isDefault: isDefault, disabled: disabled, autoFocus: autoFocus, accessibleName: accessibleName });
}
exports.default = RadioButton;