UNPKG

oadp-material

Version:
34 lines (32 loc) 1.1 kB
import _Table from "@alifd/next/es/table"; import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; var _excluded = ["dataIndex", "title", "htmlTitle", "width", "alignHeader", "align", "lock", "wordBreak", "cell"]; import * as React from 'react'; import "./index.scss"; // oadp-form 组件定义 // oadp-table 组件实例 var OadpTableColumn = function OadpTableColumn(_ref) { var dataIndex = _ref.dataIndex, title = _ref.title, htmlTitle = _ref.htmlTitle, width = _ref.width, alignHeader = _ref.alignHeader, align = _ref.align, lock = _ref.lock, wordBreak = _ref.wordBreak, cell = _ref.cell, otherProps = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/React.createElement(_Table.Column, _extends({ dataIndex: dataIndex, title: title, htmlTitle: htmlTitle, width: width, alignHeader: alignHeader, align: align, lock: lock, wordBreak: wordBreak, cell: cell }, otherProps)); }; export default OadpTableColumn;