UNPKG

remix-utils-rt

Version:

This package contains simple utility functions to use with [React Router](https://reactrouter.com/home).

12 lines (11 loc) 480 B
import * as React from "react"; import type { HoneypotInputProps } from "../server/honeypot.js"; type HoneypotContextType = Partial<HoneypotInputProps>; export declare function HoneypotInputs({ label, }: { label?: string; }): JSX.Element; export type HoneypotProviderProps = HoneypotContextType & { children: React.ReactNode; }; export declare function HoneypotProvider({ children, ...context }: HoneypotProviderProps): import("react/jsx-runtime").JSX.Element; export {};