nicecode-v2/packages/biz/es/Demo/index.js
2023-12-27 13:40:07 +08:00

15 lines
387 B
JavaScript

import React from 'react';
import { Button } from '@zhst/meta';
import { useThrottleFn } from '@zhst/hooks';
export default (function () {
var ok = function ok() {
return useThrottleFn(function () {
return console.log('123');
});
};
return /*#__PURE__*/React.createElement(Button, {
onClick: function onClick() {
return ok();
}
}, "\u6D4B\u8BD5");
});