React API Overview for use-mask-input
mainThe use-mask-input package provides two main entry points. The use-mask-input entry point contains the React API, which includes hooks for standard usage and specialized hooks for integration with React Hook Form and TanStack Form. It also includes Ant Design specific hooks.
| API | Type | React Hook Form | Ant Design | Needs memo? |
|---|---|---|---|---|
useMaskInput | Hook | - | - | No |
useHookFormMask | Hook | Yes | - | No |
useTanStackFormMask | Hook | - | - | No |
withMask | Function | - | - | Yes |
withHookFormMask | Function | Yes | - | Yes |
withTanStackFormMask | Function | - | - | Yes |
useMaskInputAntd | Hook | - | Yes | No |
useHookFormMaskAntd | Hook | Yes | Yes | No |