@altanlabs/auth
Version:
React authentication library built on top of @altanlabs/database
19 lines • 752 B
TypeScript
export interface ContinueWithGoogleProps {
/** Callback when the button is clicked. Optional, defaults to continueWithGoogle from useAuth. */
onClick?: () => void;
/** Label text for the button */
label?: string;
/** Whether the button is disabled */
disabled?: boolean;
/** Appearance settings for theming */
appearance?: {
theme?: "light" | "dark";
/** Custom style overrides for the button */
customStyles?: {
googleButton?: string;
text?: string;
};
};
}
export default function ContinueWithGoogle({ onClick, label, disabled, appearance, }: ContinueWithGoogleProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ContinueWithGoogle.d.ts.map