UNPKG

@yandex/ui

Version:

Yandex UI components

13 lines (12 loc) 709 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RadioButtonControl = void 0; var tslib_1 = require("tslib"); var react_1 = tslib_1.__importDefault(require("react")); var RadioButton_1 = require("../RadioButton"); require("./RadioButton-Control.css"); var RadioButtonControl = function (_a) { var className = _a.className, controlRef = _a.controlRef, props = tslib_1.__rest(_a, ["className", "controlRef"]); return (react_1.default.createElement("input", tslib_1.__assign({}, props, { type: "radio", autoComplete: "off", className: RadioButton_1.cnRadioButton('Control', null, [className]), ref: controlRef }))); }; exports.RadioButtonControl = RadioButtonControl;