UNPKG

@heymarco/next-auth

Version:

A complete authentication solution for web applications.

9 lines (8 loc) 509 B
import type { BuiltInProviderType } from '@auth/core/providers'; import { ButtonProps, ButtonComponentProps } from '@reusable-ui/components'; export interface ButtonWithSignInProps extends ButtonProps, Required<Pick<ButtonComponentProps, 'buttonComponent'>> { providerType: BuiltInProviderType; onSignInWith: (providerType: BuiltInProviderType) => void; } declare const ButtonWithSignIn: (props: ButtonWithSignInProps) => JSX.Element | null; export { ButtonWithSignIn, ButtonWithSignIn as default, };