antd-mobile-rn
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
27 lines (21 loc) • 908 B
JavaScript
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _createClass from 'babel-runtime/helpers/createClass';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from 'babel-runtime/helpers/inherits';
import Swipeout from 'rc-swipeout/es/Swipeout';
import React from 'react';
var SwipeAction = function (_React$Component) {
_inherits(SwipeAction, _React$Component);
function SwipeAction() {
_classCallCheck(this, SwipeAction);
return _possibleConstructorReturn(this, (SwipeAction.__proto__ || Object.getPrototypeOf(SwipeAction)).apply(this, arguments));
}
_createClass(SwipeAction, [{
key: 'render',
value: function render() {
return React.createElement(Swipeout, this.props);
}
}]);
return SwipeAction;
}(React.Component);
export default SwipeAction;