oadp-material
Version:
oadp-material
26 lines • 948 B
JavaScript
import _Radio from "@alifd/next/es/radio";
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
var _excluded = ["name", "dataSource", "defaultValue", "size", "shape", "direction", "disabled"];
import * as React from 'react';
import "./index.scss";
var OadpRadioGroup = function OadpRadioGroup(_ref) {
var name = _ref.name,
dataSource = _ref.dataSource,
defaultValue = _ref.defaultValue,
size = _ref.size,
shape = _ref.shape,
direction = _ref.direction,
disabled = _ref.disabled,
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
return /*#__PURE__*/React.createElement(_Radio.Group, _extends({
name: name,
dataSource: dataSource,
defaultValue: defaultValue,
size: size,
shape: shape,
direction: direction,
disabled: disabled
}, otherProps));
};
export default OadpRadioGroup;