react-waitlist
Version:
A customizable waitlist form component for React applications
20 lines (19 loc) • 700 B
TypeScript
import { ThemeConfig } from './types';
/**
* Tailwind CSS adapter
* Converts Tailwind CSS configuration to ThemeConfig
*/
export declare const tailwindAdapter: (tailwindConfig: any) => Partial<ThemeConfig>;
/**
* Material UI adapter
* Converts Material UI theme to ThemeConfig
*/
export declare const materialUIAdapter: (muiTheme: any) => Partial<ThemeConfig>;
/**
* Detect framework type from provided theme or config
*/
export declare const detectFramework: (theme: any) => "tailwind" | "material-ui" | "custom";
/**
* Apply appropriate adapter based on framework type
*/
export declare const applyFrameworkAdapter: (theme: ThemeConfig | undefined, frameworkConfig?: any) => ThemeConfig;