amis-rpc-design/node_modules/rc-dialog/es/Dialog/Content/MemoChildren.js
2023-10-07 19:42:30 +08:00

8 lines
233 B
JavaScript

import * as React from 'react';
export default /*#__PURE__*/React.memo(function (_ref) {
var children = _ref.children;
return children;
}, function (_, _ref2) {
var shouldUpdate = _ref2.shouldUpdate;
return !shouldUpdate;
});