/// <reference types="react" />
//#region src/components/authentication/admin/OAuthConfig/types.d.ts
interface OAuthProvider {
  id: string;
  name: string;
  description: string;
  icon: React.ReactNode;
  configured: boolean;
}
interface OAuthConfigProps {
  /**
   * 自定义类名
   */
  className?: string;
  /**
   * 自定义样式
   */
  style?: React.CSSProperties;
  /**
   * 保存回调
   */
  onSave?: (providers: OAuthProvider[]) => void;
}
//#endregion
export { OAuthConfigProps };