PageSourceSearch

https://maskito.dev/chunk-YQURLZ7H.js

js maskito.dev collected 2026-09-29 21:18:18 UTC 656 bytes, 24 lines download raw bytes

1import"./chunk-TIC6Q35B.js";var r=`\`\`\`tsx
2import type {RefCallback} from 'react';
3import type {UseFormRegisterReturn} from 'react-hook-form';
4
5const noop = async (): Promise<void> => {};
6
7export const withMaskitoRegister = (
8  registerResult: UseFormRegisterReturn,
9  maskitoRef: RefCallback<HTMLElement | null>,
10): UseFormRegisterReturn & {onInput: UseFormRegisterReturn['onChange']} => {
11  const ref: RefCallback<HTMLElement | null> = (node): void => {
12    registerResult.ref(node);
13    maskitoRef(node);
14  };
15
16  return {
17    ...registerResult,
18    ref,
19    onInput: registerResult.onChange,
20    onChange: noop,
21  };
22};
23\`\`\`
24`;export{r as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.