UNPKG

@charmr/oauth-button-web

Version:

A lightweight, framework-agnostic OAuth login button as a custom Web Component. Easily drop it into any HTML, React, Angular, or Vue project.

7 lines (6 loc) 232 B
import { ProviderType } from '@charmr/oauth-core'; /** * validates dynamic input as a known provider (e.g. 'google'). * narrows to ProviderType if true... */ export declare function isProvider(val: unknown): val is ProviderType;