UNPKG

@yandex/ui

Version:

Yandex UI components

9 lines (8 loc) 492 B
import { __assign, __rest } from "tslib"; import React from 'react'; import { cnRadioButton } from '../RadioButton'; import './RadioButton-Control.css'; export var RadioButtonControl = function (_a) { var className = _a.className, controlRef = _a.controlRef, props = __rest(_a, ["className", "controlRef"]); return (React.createElement("input", __assign({}, props, { type: "radio", autoComplete: "off", className: cnRadioButton('Control', null, [className]), ref: controlRef }))); };