Skip to contentOpen History to see the last commit
useTransform.ts
7 lines240 Bytes
1import { useCallback } from 'react' 2import type { AnyFormApi } from '@tanstack/react-form' 4export const useTransform: ( 5 fn: (formBase: AnyFormApi) => AnyFormApi, 7) => (data: unknown) => unknown = useCallback as never