source: imaps-frontend/node_modules/react-use/esm/component/UseKey.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 382 bytes
Line 
1import { __rest } from "tslib";
2import useKey from '../useKey';
3import createRenderProp from '../factory/createRenderProp';
4var UseKey = createRenderProp(useKey, function (_a) {
5 var filter = _a.filter, fn = _a.fn, deps = _a.deps, rest = __rest(_a, ["filter", "fn", "deps"]);
6 return [
7 filter,
8 fn,
9 rest,
10 deps,
11 ];
12});
13export default UseKey;
Note: See TracBrowser for help on using the repository browser.