UNPKG

@yandex/ui

Version:

Yandex UI components

9 lines (8 loc) 593 B
import { __assign, __rest } from "tslib"; import React from 'react'; import { cnRadioButton } from '../RadioButton'; import './RadioButton-Radio.css'; export var RadioButtonRadio = function (_a) { var checked = _a.checked, disabled = _a.disabled, className = _a.className, innerRef = _a.innerRef, children = _a.children, props = __rest(_a, ["checked", "disabled", "className", "innerRef", "children"]); return (React.createElement("label", __assign({}, props, { className: cnRadioButton('Radio', { checked: checked, disabled: disabled }, [className]), ref: innerRef }), children)); };