@rajkrajpj/cultivate-ui-library
Version:
A modern, type-safe, accessible React component library for fintech investor forms. Build complete investor forms in minutes with zero configuration, supporting multiple regulations (RegA+, RegD, RegCF) and investor types.
16 lines (15 loc) • 610 B
TypeScript
import { ReactNode } from 'react';
import { RegulationConfig } from '../types/regulation';
import { ThemeConfig } from '../types/theme';
interface FormConfigContextValue {
regulationConfig: RegulationConfig;
themeConfig: ThemeConfig;
}
interface FormConfigProviderProps {
regulationConfig: RegulationConfig;
themeConfig: ThemeConfig;
children: ReactNode;
}
export declare const FormConfigProvider: ({ regulationConfig, themeConfig, children, }: FormConfigProviderProps) => import("react/jsx-runtime").JSX.Element;
export declare function useFormConfig(): FormConfigContextValue;
export {};