oadp-material
Version:
oadp-material
41 lines (39 loc) • 1.37 kB
JavaScript
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
var _excluded = ["width", "height", "autoFit", "gap", "direction", "align", "verAlign", "block", "children", "name", "label", "placeholder", "defaultValue", "required", "disabled"];
import * as React from 'react';
import { Cell } from '@alifd/layout';
import "./index.scss";
// oadp-filter 组件定义
// oadp-filter 组件实例
var OadpEntityFilter = function OadpEntityFilter(_ref) {
var width = _ref.width,
height = _ref.height,
autoFit = _ref.autoFit,
gap = _ref.gap,
direction = _ref.direction,
align = _ref.align,
verAlign = _ref.verAlign,
block = _ref.block,
children = _ref.children,
name = _ref.name,
label = _ref.label,
placeholder = _ref.placeholder,
defaultValue = _ref.defaultValue,
required = _ref.required,
disabled = _ref.disabled,
otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
return /*#__PURE__*/React.createElement(Cell, _extends({
width: width,
height: height,
autoFit: autoFit,
gap: gap,
direction: direction,
align: align,
verAlign: verAlign,
block: block,
children: children
}, otherProps));
};
OadpEntityFilter.displayName = '过滤器';
export default OadpEntityFilter;