onairos
Version:
The Onairos Library is a collection of functions that enable Applications to connect and communicate data with Onairos Identities via User Authorization. Integration for developers is designed to be seamless, simple and effective for all applications
23 lines (20 loc) • 818 B
TypeScript
declare module 'onairos' {
export interface OnairosProps {
requestData: any; // Consider using a more specific type or interface for request data.
webpageName: string;
inferenceData?: any;
onComplete?: (data: any, error?: Error) => void; // Specify more precise types if possible.
autoFetch?: boolean;
proofMode?: boolean;
textLayout?: 'right' | 'left' | 'below' | 'none';
textColor?: 'black' | 'white';
login?: boolean,
loginReturn?:(data: any, error?: Error) => void;
loginType?: string;
visualType?: string;
}
/**
* Creates an Onairos component with various configuration options for fetching and displaying user data.
*/
export function Onairos(props: OnairosProps): JSX.Element;
}