UNPKG

@happykit/auth-email

Version:

- A `useAuth` hook which returns the current user - An optional `getServerSideAuth` for server-side rendering - HappyAuth is tiny - it adds only 4.6 kB to the first load JS - it adds less than 0.04 kB if you're transitioning from another page - Extremely

11 lines (10 loc) 289 B
import * as React from "react"; export declare const ErrorMessage: React.FunctionComponent<{ title: string; }>; export declare const WarningMessage: React.FunctionComponent<{ title: string; }>; export declare const SuccessMessage: React.FunctionComponent<{ title?: string; }>;