UNPKG

fx-form-widget

Version:
20 lines 713 B
import * as React from 'react'; import classnames from 'classnames'; import './index.less'; var Separator = function Separator(_ref) { var _ref$schema = _ref.schema, schema = _ref$schema === void 0 ? {} : _ref$schema; var _schema$lineType = schema.lineType, lineType = _schema$lineType === void 0 ? 'solid' : _schema$lineType; return /*#__PURE__*/React.createElement("div", { className: "separator_wrap" }, /*#__PURE__*/React.createElement("div", { className: classnames('separator_content', { dotted: lineType === 'dotted', solid: lineType === 'solid', crudeSolid: lineType === 'crudeSolid', lineNone: lineType === 'none' }) })); }; export default Separator;