UNPKG

oadp-material

Version:
28 lines (26 loc) 1.04 kB
import _Box from "@alifd/next/es/box"; import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; var _excluded = ["style", "direction", "justify", "align"]; import * as React from 'react'; import "./index.scss"; // oadp-button-bar 组件定义 // oadp-button-bar 组件实例 var OadpButtonBar = function OadpButtonBar(_ref) { var style = _ref.style, _ref$direction = _ref.direction, direction = _ref$direction === void 0 ? 'row' : _ref$direction, _ref$justify = _ref.justify, justify = _ref$justify === void 0 ? 'end' : _ref$justify, _ref$align = _ref.align, align = _ref$align === void 0 ? 'center' : _ref$align, otherProps = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/React.createElement(_Box, _extends({ style: style, direction: direction, justify: justify, align: align }, otherProps)); }; OadpButtonBar.displayName = '按钮栏'; export default OadpButtonBar;