@kentcdodds/tmp-remix-utils
Version:
This package contains simple utility functions to use with [Remix.run](https://remix.run).
17 lines (16 loc) • 454 B
TypeScript
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): JSX.Element;
export {};