styled-hook-form
Version:
React form library for styled-components based on grommet and react-hook-form
14 lines (13 loc) • 644 B
TypeScript
import { FormBuilderProps } from "./types";
import { PropsWithChildren } from "react";
import { PropType } from "types/utils";
export interface InternalContextOptions {
formOptions?: PropType<FormBuilderProps, "options">;
wrapComponent?: React.ReactElement;
}
export interface InternalContextProviderProps extends PropsWithChildren<InternalContextOptions> {
}
declare const InternalContext: import("react").Context<{}>;
declare const InternalContextProvider: React.FC<InternalContextProviderProps>;
declare const useInternalContext: () => InternalContextOptions;
export { InternalContext, InternalContextProvider, useInternalContext };